Best WordPress Gallery Plugin – FooGallery <= 2.4.16 - Authenticated (Contributor+) Directory Traversal
Strategic Overview
- Status
- Patched in 2.4.27
- Affected Plugin
- FooGallery Premium
- Affected Version
<= 2.4.26- CVSS
- 7.7High
- Weakness type
- CWE-25 · Path Traversal: '/../filedir'
- CVE
CVE-2023-6947
At a glance
CVE-2023-6947 is a high-severity Path Traversal: '/../filedir' vulnerability in the FooGallery Premium WordPress plugin, affecting versions <= 2.4.26. It carries a CVSS score of 7.7 (reachable over the network; low attack complexity; high confidentiality impact). Exploitation requires an authenticated account at Contributor level or above. The issue is fixed in version 2.4.27; sites on affected versions should update now. Disclosed December 2024, reported by Colin Xu.
Vulnerability Overview
The Best WordPress Gallery Plugin – FooGallery plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and including, 2.4.26. This makes it possible for authenticated attackers, with contributor level or higher to read the contents of arbitrary folders on the server, which can contain sensitive information such as folder structure.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user. A successful exploit has high impact on confidentiality.
CWE-25: Path Traversal: '/../filedir'
The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize /../ sequences that can resolve to a location that is outside of that directory.
Remediation
Update to version 2.4.27, or a newer patched version
How does WordSec protect against this?
The fix is the thing that ends this: FooGallery Premium 2.4.27 closes this, and updating the plugin is the step that ends it.
- Alerts
External References
Related records
Other vulnerabilities in FooGallery Premium
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C