CVE-2024-0221CWE-22

Photo Gallery by 10Web - Mobile-Friendly Image Gallery <= 1.8.19 - Directory Traversal to Arbitrary File Rename

Critical · published February 5, 2024

CVSS v3.1
9.1
EPSS
1%
Percentile
70.2
In the wild
Unconfirmed
What it is

🚨 A sneaky directory traversal vulnerability lets authenticated users rename arbitrary files on your server! 🔥 Think of it like a hotel guest who finds a master key and starts swapping room numbers — if they can rename crucial files, they might just check into the owner's suite! This vulnerability could allow an attacker to rename your wp-config.php file, potentially leading to a complete site takeover. If your admin gives gallery permissions to lower-level users, things could get absolutely disastrous — it's like handing a key to the whole building!

Put simply

Think of it like a hotel guest who finds a master key and starts swapping room numbers — if they can rename crucial files, they might just check into the owner's suite! The Directory Traversal vulnerability in the Photo Gallery by 10Web plugin affects all versions up to 1.8.19 via the rename_item function, enabling authenticated attackers to manipulate file names on the server.

What to do

This vulnerability could allow an attacker to rename your wp-config.php file, potentially leading to a complete site takeover. If your admin gives gallery permissions to lower-level users, things could get absolutely disastrous — it's like handing a key to the whole building! Update the plugin to version 1.8.20 immediately and review user permissions closely. Ensure that only trusted administrators have access to manage the gallery, to prevent potential exploitation. 📜 You've got this! With these steps, you’ll have your site back on the path to safety in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01301 · 70.2th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2024-02-05T21:21Z
EPSS history
Timeline
  • 05 FEB 21:21Z
    Photo Gallery by 10Web - Mobile-Friendly Image Gallery <= 1.8.19 - Directory Traversal to Arbitrary File Rename
    cvelistv5