CVE-2023-1720CWE-434

Bitrix24 Stored Cross-Site Scripting (XSS) via File Upload

Critical · published November 1, 2023

CVSS v3.1
9.6
EPSS
1%
Percentile
57.8
In the wild
Unconfirmed
What it is

🚨 This vulnerability allows attackers to unleash JavaScript mayhem in your browser with just a crafted HTML file upload! 🔥 Think of it like a careless delivery service accepting any package, no questions asked—if someone slips in a dangerous concoction, it can wreak havoc before you even realize it! An attacker could execute arbitrary JavaScript in the victim's browser, potentially hijacking sessions or stealing sensitive information. If the user happens to be an administrator, the attacker might even pull off a server-side coup, executing PHP code that could compromise the entire system. This could lead to total chaos, making it a critical threat!

Put simply

Think of it like a careless delivery service accepting any package, no questions asked—if someone slips in a dangerous concoction, it can wreak havoc before you even realize it! The CVE-2023-1720 flaw stems from the lack of a MIME type response header in the Bitrix24 system, allowing authenticated users to upload malicious HTML files that execute unwanted code.

What to do

An attacker could execute arbitrary JavaScript in the victim's browser, potentially hijacking sessions or stealing sensitive information. If the user happens to be an administrator, the attacker might even pull off a server-side coup, executing PHP code that could compromise the entire system. This could lead to total chaos, making it a critical threat! To patch this vulnerability, update Bitrix24 to the latest version immediately. Configure your file upload handling to validate file types properly and implement Content Security Policy (CSP) to mitigate the risks of such attacks. You've got this! Follow these steps, and you'll be one step closer to securing your platform! 🛡️

The record
Technical detail
CVSS v3.1
9.6 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00850 · 57.8th percentile
Weakness
CWE-434 · Unrestricted Upload of File with Dangerous Type
Published
2023-11-01T09:04Z
EPSS history
Timeline
  • 01 NOV 09:04Z
    Bitrix24 Stored Cross-Site Scripting (XSS) via File Upload
    cvelistv5