CVE-2024-0221
published critical CVSS 3.1 · 9.1Photo Gallery by 10Web - Mobile-Friendly Image Gallery <= 1.8.19 - Directory Traversal to Arbitrary File Rename
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.19 · Other versions: unaffected | Affected | Not stated | Wordfence |
| 10web | — | photo_gallery0 through 1.8.19 · Other versions: unknown | Affected | Not stated | CISA-ADP |
Description
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.
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
- 9.1 / 10
- Severity
- critical
- Provider
- Wordfence · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/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.19 (affected · semver)Default: unaffected | Wordfence · cna |
| 10web | photo_gallery | 0 through 1.8.19 (affected · semver)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
4- 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#L441
- 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://www.wordfence.com/threat-intel/vulnerabilities/id/3a3b8f32-f29d-4e67-8fad-202bfc8a9918?source=cve
Provider assertions
3Wordfence · cna
Photo Gallery by 10Web - Mobile-Friendly Image Gallery <= 1.8.19 - Directory Traversal to Arbitrary File Rename
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c23dff42d531e0dacc2ac7e29c42f0982f980327777dbc9b2502a652e7ab2dc0
- Ingested
- 23 Sep 2026, 08:16:07 UTC
- Source record
- Official CVE record