CVE-2024-0221
CRITICALPhoto Gallery by 10Web < 1.8.19 - Authenticated Path Traversal via rename_item Function
Title source: llmDescription
The Photo Gallery by 10Web – Mobile-Friendly Image Gallery plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and including, 1.8.19 via the rename_item function. This makes it possible for authenticated attackers to rename arbitrary files on the server. This can lead to site takeovers if the wp-config.php file of a site can be renamed. By default this can be exploited by administrators only. In the premium version of the plugin, administrators can give gallery management permissions to lower level users, which might make this exploitable by users as low as contributors.
References (4)
Core 4
Core References
Issue Tracking
https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L291
Issue Tracking
https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L441
Patch, Third Party Advisory
https://www.wordfence.com/threat-intel/vulnerabilities/id/3a3b8f32-f29d-4e67-8fad-202bfc8a9918?source=cve
Scores
CVSS v3
9.1
EPSS
0.0131
EPSS Percentile
67.0%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-22
Status
published
Products (2)
10web/Photo Gallery by 10Web – Mobile-Friendly Image Gallery
< 1.8.19
10web/photo_gallery
< 1.8.20
Published
Feb 05, 2024
Tracked Since
Feb 18, 2026