Unauthenticated Arbitrary File Upload RCE in ClipBucket ofc_upload_image.php
CVE-2013-10040 affects ClipBucket 2.6 and earlier. The vulnerability is in the /admin_area/charts/ofc-library/ofc_upload_image.php script, which permits unauthenticated users to upload arbitrary files. Because the upload mechanism does not adequately restrict file type or executable content, an attacker can upload a PHP script and then request it from a predictable web-accessible location. This results in remote code execution on the server in the security context of the web application.
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 an unauthenticated remote attacker to upload and execute arbitrary PHP code on the target ClipBucket server. This can lead to full compromise of the web application, theft or modification of application data, deployment of webshells, persistence, pivoting within the environment, and potentially broader host compromise depending on the privileges of the web server process and local hardening.
If you can’t patch tonight, do this now.
If immediate patching is not possible, restrict or disable access to /admin_area/charts/ofc-library/ofc_upload_image.php, especially from untrusted networks. Apply web server rules to block execution of scripts in upload directories, disable PHP execution in writable paths, and monitor for unexpected files under web-accessible upload locations. A WAF may help detect or block malicious upload attempts, but should not be relied on as a complete fix.
Patch, then assume compromise.
Upgrade ClipBucket to a version that fixes the unrestricted file upload issue in ofc_upload_image.php. Ensure the vulnerable script is removed, disabled, or patched to enforce strict server-side validation of uploaded content, including allowlisting of permitted file types, verification of MIME type and file content, and rejection of executable files such as PHP scripts. Store uploaded files outside the web root where possible, and configure the web server to prevent execution of uploaded content.
1 exploit validated by Mallory's analysis.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
7 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.