CVE-2024-5481
published medium CVSS 3.1 · 6.8Photo Gallery by 10Web – Mobile-Friendly Image Gallery <= 1.8.23 - Authenticated (Contributor+) Path Traversal via esc_dir Function
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| 10web | — | Photo Gallery by 10Web – Mobile-Friendly Image Gallery0 through 1.8.23 · Other versions: unaffected | Affected | Not stated | Wordfence |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.8 / 10
- Severity
- medium
- Provider
- Wordfence · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| 10web | Photo Gallery by 10Web – Mobile-Friendly Image Gallery | 0 through 1.8.23 (affected · semver)Default: unaffected | Wordfence · cna |
Weaknesses
1- CWE-35 CWE-35 Path Traversal: '.../...//'
References
6- https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L178
- https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L436
- https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L512
- https://plugins.trac.wordpress.org/changeset/3098798/
- https://wordpress.org/plugins/photo-gallery/#developers
- https://www.wordfence.com/threat-intel/vulnerabilities/id/76c38826-4d49-4204-b6b6-b01d01373fa9?source=cve
Provider assertions
3Wordfence · cna
Photo Gallery by 10Web – Mobile-Friendly Image Gallery <= 1.8.23 - Authenticated (Contributor+) Path Traversal via esc_dir Function
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a0eacc8f7b6d7ce695a9bb4dba7054cde7870ae766bb544011f87ba75eaa3e35
- Ingested
- 23 Sep 2026, 08:32:47 UTC
- Source record
- Official CVE record