Bitrix24 <= 25.100.300 (Translate Module) Remote Code Execution Vulnerability
The Translate Module in Bitrix24 allows users to upload and extract archive files into a temporary directory without properly verifying their contents. A malicious user could include a PHP file in a crafted archive to upload and execute arbitrary PHP code.
karmainsecurity.com
Published on karmainsecurity.com
The vulnerability is located within the “Translate Module”, which allows users to upload and extract archive files into a temporary directory. However, the application fails to properly verify the contents of these archives before extracting them.
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 the archive extraction routine did not validate or restrict the file types contained in uploaded archives, allowing a PHP file to be written into a web-accessible temporary directory.
Impact
An authenticated malicious user could upload and execute arbitrary PHP code on the server, potentially leading to full compromise.
What the attacker needed
Access to the Translate Module; ability to upload archive files
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 platform with a feature that lets users upload compressed files (archives) and unpack them on the server. The server did not check what was inside the archive before unpacking it, so someone could hide a PHP script (code that runs on the server) inside and get it executed. That would let them run their own commands on the server.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.