CVE-2024-5481
Severity CVSS v4.0:
Pending analysis
Type:
CWE-22
Path Traversal
Publication date:
07/06/2024
Last modified:
11/06/2024
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.
Impact
Base Score 3.x
8.80
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:10web:photo_gallery:*:*:*:*:*:wordpress:*:* | 1.8.24 (excluding) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L178
- https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L436
- https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L512
- https://plugins.trac.wordpress.org/changeset/3098798/
- https://wordpress.org/plugins/photo-gallery/#developers
- https://www.wordfence.com/threat-intel/vulnerabilities/id/76c38826-4d49-4204-b6b6-b01d01373fa9?source=cve



