CVE-2009-4140
Unrestricted file upload vulnerability in ofc_upload_image.php in Open Flash Chart v2 Beta 1...
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/.
Exploit likelihood
What each source reports
NVD Score used
7.5
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/.
- Record
CVE-2009-4140- CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Updated
- 2026-11-02
CVE List No score
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/.
- Record
CVE-2009-4140- Updated
- 2026-11-02
EUVDEUVD-2009-4110 No score
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/.
- Record
EUVD-2009-4110- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-x396-wp63-mv42 No score
Unrestricted file upload vulnerability in ofc_upload_image.php in Open Flash Chart v2 Beta 1...
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/.
- Record
GHSA-x396-wp63-mv42- Updated
- 2026-11-02
Affected products
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | Piwik Open Flash Chart - Remote Code Execution | 2009-12-17 |
| Exploit-DB | OpenEMR 4.1.1 - 'ofc_upload_image.php' Arbitrary File Upload | 2013-02-13 |
| Exploit-DB | OpenEMR - Arbitrary '.PHP' File Upload (Metasploit) | 2013-02-20 |
| Exploit-DB | Joomla! Component com_civicrm 4.2.2 - Remote Code Injection | 2013-04-22 |
| Exploit-DB | ZonPHP 2.25 - Remote Code Execution | 2013-10-20 |
| Exploit-DB | Open Flash Chart 2 - Arbitrary File Upload (Metasploit) | 2013-10-26 |
| Metasploit | Open Flash Chart v2 Arbitrary File Upload | 2009-12-14 |
| Metasploit | OpenEMR PHP File Upload Vulnerability | 2013-02-13 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, Exploit-DB, GitHub Advisories, Metasploit, NVD |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2009-4140 is a high vulnerability (CVSS 7.5) in Teethgrinder.co.uk Open Flash Chart, published December 22, 2009. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 75.8%, the 99th percentile. No source names a fixed version.
References
securityfocus.com/bid/37314
osvdb.org/59051
packetstormsecurity.com/files/123494/wpslimstatex-exec.txt
openwall.com/lists/oss-security/2009/12/14/3
openwall.com/lists/oss-security/2009/12/14/1
exchange.xforce.ibmcloud.com/vulnerabilities/53825
Show 12 moreShow less
secunia.com/advisories/55160
wordpress.org/extend/plugins/woopra/changelog
packetstormsecurity.org/0910-exploits/piwik-upload.txt
secunia.com/advisories/37078
exploit-db.com/exploits/24969
secunia.com/advisories/55162
piwik.org/blog/2009/10/piwik-response-to-secunia-advisory-sa37078
vupen.com/english/advisories/2009/2966
packetstormsecurity.com/files/123493/wpseowatcher-exec.txt
secunia.com/advisories/37911
nvd.nist.gov/vuln/detail/CVE-2009-4140
github.com/advisories/GHSA-x396-wp63-mv42