CVE-2023-44393CWE-79CWE-80

Piwigo Reflected XSS vulnerability

Critical · published October 9, 2023

CVSS v3.1
9.3
EPSS
1%
Percentile
70.9
In the wild
Unconfirmed
What it is

🚨 A crafty admin URL can lead to total chaos! This reflected XSS vulnerability in Piwigo allows attackers to inject malicious code right into the admin panel page — a direct line to mischief! 🔥 Think of it like a pizza delivery that mistakenly includes a hidden, spicy ingredient that only the chef knows about. If the restaurant's admin doesn't check the order carefully, they might end up serving something disastrous to their customers! An attacker can exploit this vulnerability by tricking an administrator into visiting a specially crafted URL. Once the admin is lured in, the malicious code executes within the context of their session, potentially compromising sensitive data, tweaking settings, or even wreaking havoc on the entire gallery. Absolutely devastating!

Put simply

Think of it like a pizza delivery that mistakenly includes a hidden, spicy ingredient that only the chef knows about. If the restaurant's admin doesn't check the order carefully, they might end up serving something disastrous to their customers! This vulnerability stems from insecure handling of the `plugin_id` parameter in the URL on the admin page. Attackers can inject harmful HTML and JavaScript that executes when an admin views the page, thanks to a lack of input validation.

What to do

An attacker can exploit this vulnerability by tricking an administrator into visiting a specially crafted URL. Once the admin is lured in, the malicious code executes within the context of their session, potentially compromising sensitive data, tweaking settings, or even wreaking havoc on the entire gallery. Absolutely devastating! Patch to version 14.0.0beta4 immediately to eliminate this threat. Additionally, consider implementing a robust Content Security Policy and regularly audit input handling to prevent future XSS vulnerabilities. You've got this! By following these steps, you’ll safeguard your Piwigo setup and maintain your hero status in the security realm! 🛡️

The record
Technical detail
CVSS v3.1
9.3 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.01332 · 70.9th percentile
Weaknesses
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'); CWE-80 · Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
Published
2023-10-09T14:52Z
EPSS history
Timeline
  • 09 OCT 14:52Z
    Piwigo Reflected XSS vulnerability
    cvelistv5