(CVE-2023-1715 & CVE-2023-1716) Bitrix24 Stored Cross-Site Scripting (XSS) via Improper Input Neutralization on Invoice Edit Page
A logic error in the mb_strpos() check allowed XSS payloads to bypass sanitisation by placing HTML tags at the beginning. An attacker could execute arbitrary JavaScript in a victim's browser, and possibly execute PHP code on the server if the victim is an administrator.
starlabs.sg
Published on starlabs.sg
This report presents information on a Cross Site Scripting (XSS) vulnerability in Bitrix24’s Invoice Edit page that allows an attacker to run arbitrary JavaScript code on the browser of any victim that visits the affected page. If the victim has administrator permissions, an attacker may leverage the built-in “PHP…
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
Attackers could execute arbitrary JavaScript in the victim's browser, and possibly execute arbitrary PHP code on the server if the victim has administrator privilege.
What the attacker needed
Victim views the invoice edit page; attacker can inject input
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
The application tried to block dangerous HTML by searching for certain patterns, but the check was flawed. By putting HTML tags at the start of the input, an attacker could sneak in malicious code that runs in another user's browser. This is called cross-site scripting (XSS).
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.