8.8

CVE-2024-5481

Photo Gallery by 10Web – Mobile-Friendly Image Gallery <= 1.8.23 - Authenticated (Contributor+) Path Traversal via esc_dir Function

Photo Gallery by 10Web – Mobile-Friendly Image Gallery <= 1.8.23 - Authenticated (Contributor+) Path Traversal via esc_dir Function

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.
Mögliche Gegenmaßnahme
Photo Gallery by 10Web – Mobile-Friendly Image Gallery: Update to version 1.8.24, or a newer patched version
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
10webPhoto Gallery SwPlatformwordpress Version < 1.8.24
Weitere Schwachstelleninformationen
SystemWordPress Plugin
Produkt Photo Gallery by 10Web – Mobile-Friendly Image Gallery
Version *-1.8.23
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.73% 0.493
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
nvd@nist.gov 8.8 2.8 5.9
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
security@wordfence.com 6.8 1.6 5.2
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

CWE-35 Path Traversal: '.../...//'

The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize '.../...//' (doubled triple dot slash) sequences that can resolve to a location that is outside of that directory.

https://wordpress.org/plugins/photo-gallery/#developers
Product
Release Notes
https://plugins.trac.wordpress.org/changeset/3098798/
Patch
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://www.wordfence.com/threat-intel/vulnerabilities/id/76c38826-4d49-4204-b6b6-b01d01373fa9?source=cve
Third Party Advisory
https://www.wordfence.com/threat-intel/vulnerabilities/id/76c38826-4d49-4204-b6b6-b01d01373fa9
Third Party Advisory