Vulnerabilities · 2024 · 10web
CVE-2024-5481
10web Photo Gallery vulnerability
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.
Affected products
Photo Gallery. The exact versions are in the references.
What to do now
- Check your exposureFind out whether 10web Photo Gallery runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- plugins.trac.wordpress.org/changeset/3098798/ · Patch
- www.wordfence.com/threat-intel/vulnerabilities/id/76c38826-4d49-4204-b6b6-b01d01373fa9?sou · Third Party Advisory
- plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L178
- plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L436
- plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L512
- wordpress.org/plugins/photo-gallery/#developers
- nvd.nist.gov/vuln/detail/CVE-2024-5481
- cve.org/CVERecord?id=CVE-2024-5481
More vulnerabilities in 10web products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.