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

6.8
Path Traversal: '.../...//'
CVE CVE-2024-5481
CVSS 6.8 (Medium)
Publicly Published June 6, 2024
Last Updated June 7, 2024
Researcher Tobias Weißhaar (kun_19)

Description

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.

References

Share

Vulnerability Details for Photo Gallery by 10Web – Mobile-Friendly Image Gallery

Software Type Plugin
Software Slug photo-gallery (view on wordpress.org)
Patched? Yes
Remediation Update to version 1.8.24, or a newer patched version
Affected Version
  • <= 1.8.23
Patched Version
  • 1.8.24

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation