CVEvulnerability
CVE-2024-5481
8.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2024-06-07
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.8 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H
- CVSS 3.1 ([email protected])
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-22, CWE-35
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.
Affected configurations
• 10web photo gallery (< 1.8.24)
Related
References
- https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L178 Product
- https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L436 Product
- https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L512 Product
- https://plugins.trac.wordpress.org/changeset/3098798/ Patch
- https://wordpress.org/plugins/photo-gallery/#developers Product, Release Notes
- https://www.wordfence.com/threat-intel/vulnerabilities/id/76c38826-4d49-4204-b6b6-b01d01373fa9?source=cve Third Party Advisory
- https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L178 Product
- https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L436 Product
- https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L512 Product
- https://plugins.trac.wordpress.org/changeset/3098798/ Patch
- https://wordpress.org/plugins/photo-gallery/#developers Product, Release Notes
- https://www.wordfence.com/threat-intel/vulnerabilities/id/76c38826-4d49-4204-b6b6-b01d01373fa9?source=cve Third Party Advisory