Unrestricted File Upload in IceBB 1.0-rc5 avatar function
IceBB 1.0-rc5 contains an unrestricted file upload vulnerability in index.php, specifically in the avatar upload functionality. Remote authenticated users can upload arbitrary files, including potentially executable scripts, to the uploads/ directory via the avatar function. The application does not properly validate or restrict the type of files being uploaded, allowing attackers to upload malicious files.
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.
An attacker with authentication can upload arbitrary files, including web shells or other executable scripts, to the server. These files can then be accessed and executed from the uploads/ directory, leading to remote code execution, server compromise, or further attacks against the application and its users.
If you can’t patch tonight, do this now.
Restrict file types and extensions allowed for avatar uploads at both the client and server side. Use .htaccess or equivalent web server configuration to prevent execution of files in the uploads/ directory. Monitor and audit uploaded files for suspicious content.
Patch, then assume compromise.
Update IceBB to a version where file upload restrictions are properly enforced. Implement strict server-side validation of file types and extensions for avatar uploads, and ensure that uploaded files cannot be executed as scripts. Consider storing uploaded files outside of the web root or using randomized file names and access controls.
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.