Arbitrary File Upload in Joomla! Expose com_expose (uploadimg.php)
The uploadimg.php script in the Expose RC35 and earlier (com_expose) component for Joomla! fails to properly terminate execution after detecting a non-JPEG file upload. Although it sends an error message, it does not exit, allowing remote attackers to upload arbitrary files, including PHP code, to the img/ directory. This can be exploited to achieve remote code execution on the server.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote attackers to upload and execute arbitrary PHP code on the affected Joomla! server, leading to full compromise of the application and potentially the underlying system.
If you can’t patch tonight, do this now.
Restrict access to the img/ directory via web server configuration to prevent execution of uploaded files. Implement additional server-side validation to ensure only JPEG files are accepted and processed. Monitor and audit file uploads for suspicious activity.
Patch, then assume compromise.
Upgrade to a fixed version of the Expose component where uploadimg.php properly terminates execution after detecting invalid file types. Alternatively, apply a patch to ensure the script exits after sending an error message for non-JPEG uploads.
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.