CVE-2013-10040: Unauthenticated Arbitrary File Upload RCE in ClipBucket ofc_upload_image.php
- Vendors
- ClipBucketClipbucket Project
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.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
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.
Mitigation
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.
Remediation
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.
Exploits
1 exploit validated by Mallory's analysis.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2013-10040 exploited in the wild?
- As of Sep 25, 2026, Mallory has no reports of CVE-2013-10040 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2013-10040?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2013-10040, the earliest disclosed Oct 4, 2013.
- Is there a patch for CVE-2013-10040?
- 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.
- What products are affected by CVE-2013-10040?
- Clipbucket and Clipbucket Project Clipbucket.
- How severe is CVE-2013-10040?
- CVE-2013-10040 has a CVSS v4 score of 10.0 (Critical) and an EPSS score of 4.4% (91st percentile) as of Sep 25, 2026.
Recent activity
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.