Description
Lack of mime type response header in Bitrix24 22.0.300 allows authenticated remote attackers to execute arbitrary JavaScript code in the victim's browser, and possibly execute arbitrary PHP code on the server if the victim has administrator privilege, via uploading a crafted HTML file through /desktop_app/file.ajax.php?action=uploadfile.
Problem types
CWE-434 Unrestricted Upload of File with Dangerous Type
Product status
Any version
Credits
Lam Jun Rong & Li Jiantao of STAR Labs SG Pte. Ltd. (@starlabs_sg)
References
starlabs.sg/advisories/23/23-1720/
starlabs.sg/advisories/23/23-1720/