CVE-2024-0221: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in 10web Photo Gallery by 10Web – Mobile-Friendly Image Gallery
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.
AI Analysis
Technical Summary
The Photo Gallery by 10Web plugin for WordPress contains a directory traversal vulnerability (CWE-22) in the rename_item function that allows authenticated administrators to rename arbitrary files on the server. This can be exploited to rename critical files like wp-config.php, potentially leading to site takeover. The premium plugin version may extend this risk to lower-privileged users if permissions are granted. The vulnerability affects all versions up to 1.8.19 and has a CVSS 3.1 score of 9.1 (AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H). No patch or remediation details are currently available from the vendor or advisory sources.
Potential Impact
Successful exploitation allows authenticated administrators (or lower-privileged users with granted permissions in the premium version) to rename arbitrary files on the server. This can lead to complete site takeover by renaming critical configuration files such as wp-config.php, impacting confidentiality, integrity, and availability of the affected WordPress site.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict administrative and gallery management permissions to trusted users only. Monitor for updates from 10Web regarding patches or official mitigations.
CVE-2024-0221: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in 10web Photo Gallery by 10Web – Mobile-Friendly Image Gallery
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Photo Gallery by 10Web plugin for WordPress contains a directory traversal vulnerability (CWE-22) in the rename_item function that allows authenticated administrators to rename arbitrary files on the server. This can be exploited to rename critical files like wp-config.php, potentially leading to site takeover. The premium plugin version may extend this risk to lower-privileged users if permissions are granted. The vulnerability affects all versions up to 1.8.19 and has a CVSS 3.1 score of 9.1 (AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H). No patch or remediation details are currently available from the vendor or advisory sources.
Potential Impact
Successful exploitation allows authenticated administrators (or lower-privileged users with granted permissions in the premium version) to rename arbitrary files on the server. This can lead to complete site takeover by renaming critical configuration files such as wp-config.php, impacting confidentiality, integrity, and availability of the affected WordPress site.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict administrative and gallery management permissions to trusted users only. Monitor for updates from 10Web regarding patches or official mitigations.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-01-03T17:13:13.386Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6ddab7ef31ef0b58f9a1
Added to database: 2/25/2026, 9:47:06 PM
Last enriched: 4/9/2026, 11:39:48 AM
Last updated: 4/11/2026, 7:58:05 PM
Views: 14
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.