(CVE-2023-1714) Bitrix24 Remote Command Execution (RCE) via Unsafe Variable Extraction
Bitrix24 version 22.0.300 contains an unsafe variable extraction flaw in a user options file, allowing an authenticated attacker to execute arbitrary code by appending content to existing PHP files or through PHAR deserialisation.
starlabs.sg
Published on starlabs.sg
This report presents information on an insecure file append vulnerability in Bitrix24 which allows an adversary to run arbitrary commands on the affected web server.
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
Root cause
Likely unsafe variable extraction in user_options.php allows attacker-controlled data to influence file paths and trigger PHAR deserialisation.
Impact
An authenticated attacker could execute arbitrary code on the server, leading to full compromise of confidentiality, integrity and availability.
What the attacker needed
Authenticated account
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.
Bitrix24 is a business software platform. A flaw in how it handled certain user settings let a logged-in user trick the server into running their own code, which could take over the whole system.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.