CVE-2024-5481 Photo Gallery by 10Web – Mobile-Friendly Image Gallery <= 1.8.23 - Authenticated (Contributor+) Path Traversal via esc_dir Function
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- WordPress
Description
The Photo Gallery by 10Web – Mobile-Friendly Image Gallery plugin for WordPress is vulnerable to Path Traversal in all versions up to, and including, 1.8.23 via the esc_dir function. This makes it possible for authenticated attackers to cut and paste (copy) the contents of arbitrary files on the server, which can contain sensitive information, and to cut (delete) arbitrary directories, including the root WordPress directory. By default this can be exploited by administrators only. In the premium version of the plugin, administrators can give gallery edit permissions to lower level users, which might make this exploitable by users as low as contributors.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 10web photo gallery | < 1.8.24 | 1.8.24 | Fixed |
| 10web Photo Gallery by 10Web – Mobile-Friendly Image Gallery | <= 1.8.23 | after 1.8.23 | Fixed |
| wordpress photo-gallery(WordPress) | < 1.8.24 | 1.8.24 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| wordpress photo-gallery(WordPress) | < 1.8.24 | 1.8.24 |
| 10web Photo Gallery by 10Web – Mobile-Friendly Image Gallery | <= 1.8.23 | No fix listed |
| 10web photo gallery | < 1.8.24 | 1.8.24 |
References
- Wordfence Intelligence third-party-advisory
- www.cve.org
- www.wordfence.com third-party-advisory
- plugins.trac.wordpress.org product
- plugins.trac.wordpress.org patch
- wordpress.org product release-notes