CVE-2024-0221

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:10web:photo_gallery:*:*:*:*:*:wordpress:*:*

History

21 Nov 2024, 08:46

Type Values Removed Values Added
References () 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#L291 - Issue Tracking
References () https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L441 - Issue Tracking () https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L441 - Issue Tracking
References () https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3022981%40photo-gallery%2Ftrunk&old=3013021%40photo-gallery%2Ftrunk&sfp_email=&sfph_mail= - Patch () https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3022981%40photo-gallery%2Ftrunk&old=3013021%40photo-gallery%2Ftrunk&sfp_email=&sfph_mail= - Patch
References () https://www.wordfence.com/threat-intel/vulnerabilities/id/3a3b8f32-f29d-4e67-8fad-202bfc8a9918?source=cve - Patch, Third Party Advisory () https://www.wordfence.com/threat-intel/vulnerabilities/id/3a3b8f32-f29d-4e67-8fad-202bfc8a9918?source=cve - Patch, Third Party Advisory
CVSS v2 : unknown
v3 : 7.2
v2 : unknown
v3 : 9.1

13 Feb 2024, 18:48

Type Values Removed Values Added
References () https://www.wordfence.com/threat-intel/vulnerabilities/id/3a3b8f32-f29d-4e67-8fad-202bfc8a9918?source=cve - () https://www.wordfence.com/threat-intel/vulnerabilities/id/3a3b8f32-f29d-4e67-8fad-202bfc8a9918?source=cve - Patch, Third Party Advisory
References () https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3022981%40photo-gallery%2Ftrunk&old=3013021%40photo-gallery%2Ftrunk&sfp_email=&sfph_mail= - () https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3022981%40photo-gallery%2Ftrunk&old=3013021%40photo-gallery%2Ftrunk&sfp_email=&sfph_mail= - Patch
References () https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L441 - () https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L441 - Issue Tracking
References () https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L291 - () https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L291 - Issue Tracking
CWE CWE-22
CPE cpe:2.3:a:10web:photo_gallery:*:*:*:*:*:wordpress:*:*
First Time 10web photo Gallery
10web
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.2

05 Feb 2024, 22:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-02-05 22:15

Updated : 2024-11-21 08:46


NVD link : CVE-2024-0221

Mitre link : CVE-2024-0221

CVE.ORG link : CVE-2024-0221


JSON object : View

Products Affected

10web

  • photo_gallery
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')