SecurityContext

CVE-2024-0221: Photo Gallery by 10Web - Path Traversal

  • Cve: CVE-2024-0221
  • Name: Photo Gallery by 10Web - Path Traversal
  • 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.
  • Impact: Attackers can rename critical files like wp-config.php, potentially leading to site takeover or full compromise.
  • Remediation: Update to the latest version of the plugin, above 1.8.19, to fix the vulnerability.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_write
  • Requirement type: logged_in
  • Requirements: Attacker needs to be logged in as administrator or lower-level user with gallery management permissions.
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.2
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01301
  • Epss percentile: 0.71215
  • Assignee: [email protected]
  • Published at: 2024-02-05T22:15:59Z
  • Age in days: 1023
  • Modified at: 2026-06-17T06:53:01Z
  • Patch available: yes
  • References total: 4
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-0221
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

References

Same in every row:

  • Source: nvd
UrlTags
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=Patch
https://www.wordfence.com/threat-intel/vulnerabilities/id/3a3b8f32-f29d-4e67-8fad-202bfc8a9918?source=cvePatch, Third Party Advisory
https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L291Issue Tracking
https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L441Issue Tracking

Products

ProductAffectedPlatform boundSourcesUrl
10web:photo_gallery< 1.8.20nonvd/v1/products/10web/photo_gallery

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 1704
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports