CVE-2024-0221 Photo Gallery by 10Web - Mobile-Friendly Image Gallery <= 1.8.19 - Directory Traversal to Arbitrary File Rename
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- PHPWordPress
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.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 10web photo gallery | < 1.8.20; <= 1.8.19 | 1.8.20 | Fixed |
| 10web Photo Gallery by 10Web – Mobile-Friendly Image Gallery | <= 1.8.19 | after 1.8.19 | Fixed |
| wordpress photo-gallery(WordPress) | < 1.8.20 | 1.8.20 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| wordpress photo-gallery(WordPress) | < 1.8.20 | 1.8.20 |
| 10web Photo Gallery by 10Web – Mobile-Friendly Image Gallery | <= 1.8.19 | No fix listed |
| 10web photo gallery | <= 1.8.19 | No fix listed |
| 10web photo gallery | < 1.8.20 | 1.8.20 |
References
- Wordfence Intelligence third-party-advisory
- www.cve.org
- www.wordfence.com patch third-party-advisory
- plugins.trac.wordpress.org issue-tracking
- plugins.trac.wordpress.org patch