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

13 Feb 2024, 18:48

Type Values Removed Values Added
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
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/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://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
CPE cpe:2.3:a:10web:photo_gallery:*:*:*:*:*:wordpress:*:*
First Time 10web photo Gallery
10web
Summary
  • (es) El complemento Photo Gallery by 10Web – Mobile-Friendly Image Gallery para WordPress es vulnerable a Directory Traversal en todas las versiones hasta la 1.8.19 incluida, a través de la función rename_item. Esto hace posible que atacantes autenticados cambien el nombre de archivos arbitrarios en el servidor. Esto puede provocar adquisiciones de sitios si se puede cambiar el nombre del archivo wp-config.php de un sitio. De forma predeterminada, esto sólo puede ser aprovechado por los administradores. En la versión premium del complemento, los administradores pueden otorgar permisos de administración de la galería a usuarios de niveles inferiores, lo que podría hacer que esto sea explotable por usuarios tan bajos como los contribuyentes.
CVSS v2 : unknown
v3 : 9.1
v2 : unknown
v3 : 7.2
CWE CWE-22

05 Feb 2024, 22:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-02-05 22:15

Updated : 2024-02-13 18:48


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')