Unrestricted file upload vulnerability in ofc_upload_image.php in Open Flash Chart v2 Beta 1 through v2 Lug Wyrm Charmer, as used in Piwik 0.2.35 through 0.4.3, Woopra Analytics Plugin before 1.4.3.2, and possibly other products, when register_globals is enabled, allows remote authenticated users to execute arbitrary code by uploading a file with an executable extension through the name parameter with the code in the HTTP_RAW_POST_DATA parameter, then accessing it via a direct request to the file in tmp-upload-images/.
CVE-2009-4140
Score elevated to 9.0 because EPSS predicts 91% probability of exploitation within the next 30 days (top 0.3% of all CVEs). Confidence: see factors.
- High exploitation likelihood — EPSS 76%
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- —
- EG Score
- 9.0(low)
- EPSS
- 99.5%
- KEV
- Not listed
Published
December 22, 2009
Last Modified
April 23, 2026
References (32)
- secalert@redhathttp://packetstormsecurity.com/files/123493/wpseowatcher-exec.txt
- secalert@redhathttp://packetstormsecurity.com/files/123494/wpslimstatex-exec.txt
- secalert@redhathttp://packetstormsecurity.org/0910-exploits/piwik-upload.txt
- secalert@redhathttp://piwik.org/blog/2009/10/piwik-response-to-secunia-advisory-sa37078/
- secalert@redhathttp://secunia.com/advisories/37078
- secalert@redhathttp://secunia.com/advisories/37911
- secalert@redhathttp://secunia.com/advisories/55160
- secalert@redhathttp://secunia.com/advisories/55162
- secalert@redhathttp://wordpress.org/extend/plugins/woopra/changelog/
- secalert@redhathttp://www.exploit-db.com/exploits/24969
- secalert@redhathttp://www.openwall.com/lists/oss-security/2009/12/14/1
- secalert@redhathttp://www.openwall.com/lists/oss-security/2009/12/14/3
- secalert@redhathttp://www.osvdb.org/59051
- secalert@redhathttp://www.securityfocus.com/bid/37314
- secalert@redhathttp://www.vupen.com/english/advisories/2009/2966
Data Freshness Timeline
(refreshed 2× in last 7d / 24× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-04 06:27 UTCEPSS rescore
- 2026-07-01 15:02 UTCEPSS rescore
- 2026-06-30 23:19 UTCEPSS rescore
- 2026-06-27 03:05 UTCEPSS rescore
- 2026-06-25 13:46 UTCEPSS rescore
- 2026-06-25 13:46 UTCEPSS rescore
- 2026-06-23 21:29 UTCEPSS rescore
- 2026-06-23 21:29 UTCEPSS rescore
- 2026-06-22 14:22 UTCEPSS rescore
- 2026-06-22 14:22 UTCEPSS rescore
- 2026-06-21 14:53 UTCEPSS rescore
- 2026-06-21 01:56 UTCEPSS rescore
- 2026-06-21 01:56 UTCEPSS rescore
- 2026-06-17 17:49 UTCEPSS rescore
- 2026-06-17 17:49 UTCEPSS rescore
- 2026-06-15 17:44 UTCEPSS rescore
- 2026-06-14 23:14 UTCEPSS rescore
- 2026-06-14 23:14 UTCEPSS rescore
- 2026-06-13 22:57 UTCEPSS rescore
- 2026-06-12 23:08 UTCEPSS rescore
- 2026-06-12 23:08 UTCEPSS rescore
- 2026-06-10 22:14 UTCEPSS rescore
- 2026-06-10 13:17 UTCEPSS rescore
- 2026-06-08 14:13 UTCEPSS rescore
- 2026-06-05 06:07 UTCEPSS rescore
Show 13 moreShow fewer
- 2026-06-02 20:10 UTCEPSS rescore
- 2026-06-02 20:10 UTCEPSS rescore
- 2026-05-29 13:40 UTCEPSS rescore
- 2026-05-29 13:19 UTCEG score recompute
- 2026-05-29 13:19 UTCGHSA enrichment
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-26 13:41 UTCEPSS rescore
- 2026-05-26 13:41 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-18 21:29 UTCEPSS rescore
Publicly available exploits
(8 references)Working exploit code is in the public domain (2 Metasploit modules) (6 Exploit-DB entries). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Exploit-DBEDB-29210✓ verifiedFirst seen Oct 26, 2013
Open Flash Chart 2 - Arbitrary File Upload (Metasploit)
Open source ↗ - Exploit-DBEDB-29091✓ verifiedFirst seen Oct 20, 2013
ZonPHP 2.25 - Remote Code Execution
Open source ↗ - Exploit-DBEDB-24969✓ verifiedFirst seen Apr 22, 2013
Joomla! Component com_civicrm 4.2.2 - Remote Code Injection
Open source ↗ - Exploit-DBEDB-24529✓ verifiedFirst seen Feb 20, 2013
OpenEMR - Arbitrary '.PHP' File Upload (Metasploit)
Open source ↗ - Exploit-DBEDB-24492✓ verifiedFirst seen Feb 13, 2013
OpenEMR 4.1.1 - 'ofc_upload_image.php' Arbitrary File Upload
Open source ↗ - Metasploitexploit/unix/webapp/openemr_upload_exec✓ verifiedFirst seen Feb 13, 2013
OpenEMR PHP File Upload Vulnerability
Open source ↗ - Exploit-DBEDB-10532First seen Dec 17, 2009
Piwik Open Flash Chart - Remote Code Execution
Open source ↗ - Metasploitexploit/unix/webapp/open_flash_chart_upload_exec✓ verifiedFirst seen Dec 14, 2009
Open Flash Chart v2 Arbitrary File Upload
Open source ↗
Frequently asked(4)
What is CVE-2009-4140?
When was CVE-2009-4140 disclosed?
Is CVE-2009-4140 actively exploited?
How do I remediate CVE-2009-4140?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2009-4140
Is Your Infrastructure Affected by CVE-2009-4140?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.