CVE-2009-4140
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…
- 7.5HighCVSS base score
- 75.8%Exploitation in 30 daysEPSS · top 0.5% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 8Public exploitsMetasploit, Nuclei and Exploit-DB
Description
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/.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list 2 Metasploit modules and 6 Exploit-DB entries for it. A reference of the record is tagged as an exploit.
Show the exploits9
Metasploit modules2 modules
- OpenEMR PHP File Upload Vulnerability (Metasploit module) (opens in a new tab)
exploit/unix/webapp/openemr_upload_execRank excellentdisclosed 13 Feb 2013
- Open Flash Chart v2 Arbitrary File Upload (Metasploit module) (opens in a new tab)
exploit/unix/webapp/open_flash_chart_upload_execRank greatdisclosed 14 Dec 2009
Exploit-DB6 entries
- Open Flash Chart 2 - Arbitrary File Upload (Metasploit) (Exploit-DB entry) (opens in a new tab)
EDB-ID 29210remote, phppublished 26 Oct 2013Verified
- ZonPHP 2.25 - Remote Code Execution (Exploit-DB entry) (opens in a new tab)
EDB-ID 29091webapps, phppublished 20 Oct 2013Verified
- Joomla! Component com_civicrm 4.2.2 - Remote Code Injection (Exploit-DB entry) (opens in a new tab)
EDB-ID 24969webapps, phppublished 22 Apr 2013Verified
- OpenEMR - Arbitrary '.PHP' File Upload (Metasploit) (Exploit-DB entry) (opens in a new tab)
EDB-ID 24529remote, phppublished 20 Feb 2013Verified
- OpenEMR 4.1.1 - 'ofc_upload_image.php' Arbitrary File Upload (Exploit-DB entry) (opens in a new tab)
EDB-ID 24492webapps, phppublished 13 Feb 2013Verified
- Piwik Open Flash Chart - Remote Code Execution (Exploit-DB entry) (opens in a new tab)
EDB-ID 10532webapps, phppublished 17 Dec 2009Not verified
References tagged exploit1 reference
- 24969 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By redhat
- 21 days later
· 21 days later
Published
- 15 years later
· 15 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | High7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 75.8% · top 0.5% of all CVEs (11 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
n/a
- affected n/a
References
References16
- 37314 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- 59051 (opens in a new tab)vdb-entryx_refsource_OSVDBx_transferred
- http://packetstormsecurity.com/files/123494/wpslimstatex-exec.txt (opens in a new tab)x_refsource_MISCx_transferred
- [oss-security] 20091214 Re: CVE Request - Open Flash Chart v2 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [oss-security] 20091214 CVE Request - Open Flash Chart v2 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- piwik-ofcuploadimage-code-execution(53825) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- 55160 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://wordpress.org/extend/plugins/woopra/changelog/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://packetstormsecurity.org/0910-exploits/piwik-upload.txt (opens in a new tab)x_refsource_MISCx_transferred
- 37078 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 24969 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- 55162 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://piwik.org/blog/2009/10/piwik-response-to-secunia-advisory-sa37078/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- ADV-2009-2966 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- http://packetstormsecurity.com/files/123493/wpseowatcher-exec.txt (opens in a new tab)x_refsource_MISCx_transferred
- 37911 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2009-4110 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2009-4140)Record last updated .