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 0.2.35 through 0.4.3…
Public exploit code
Working exploit or proof of concept code has been published for this vulnerability. Treat unpatched systems as at risk.
- Open Flash Chart 2 - Arbitrary File Upload (Metasploit)2013-10-26 · remote · php · Verified
- ZonPHP 2.25 - Remote Code Execution2013-10-20 · webapps · php · Verified
- Joomla! Component com_civicrm 4.2.2 - Remote Code Injection2013-04-22 · webapps · php · Verified
- OpenEMR - Arbitrary '.PHP' File Upload (Metasploit)2013-02-20 · remote · php · Verified
- OpenEMR 4.1.1 - 'ofc_upload_image.php' Arbitrary File Upload2013-02-13 · webapps · php · Verified
- Piwik Open Flash Chart - Remote Code Execution2009-12-17 · webapps · php
Impact
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/.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Teethgrinder.Co.Uk | Open Flash Chart | Version 2.0 |
| Matomo | Matomo | Versions 0.2.37, 0.4.2, 0.4.3 |
References
- NVD record
- CVE.org record
- http://packetstormsecurity.com/files/123493/wpseowatcher-exec.txt
- http://packetstormsecurity.com/files/123494/wpslimstatex-exec.txt
- http://packetstormsecurity.org/0910-exploits/piwik-upload.txt
- http://piwik.org/blog/2009/10/piwik-response-to-secunia-advisory-sa37078/
- http://secunia.com/advisories/37078
- http://secunia.com/advisories/37911
- http://secunia.com/advisories/55160
- http://secunia.com/advisories/55162
- http://wordpress.org/extend/plugins/woopra/changelog/
- http://www.exploit-db.com/exploits/24969
- http://www.openwall.com/lists/oss-security/2009/12/14/1
- http://www.openwall.com/lists/oss-security/2009/12/14/3
- http://www.osvdb.org/59051
- http://www.securityfocus.com/bid/37314
- http://www.vupen.com/english/advisories/2009/2966
- https://exchange.xforce.ibmcloud.com/vulnerabilities/53825
- http://packetstormsecurity.com/files/123493/wpseowatcher-exec.txt
- http://packetstormsecurity.com/files/123494/wpslimstatex-exec.txt
- http://packetstormsecurity.org/0910-exploits/piwik-upload.txt
- http://piwik.org/blog/2009/10/piwik-response-to-secunia-advisory-sa37078/
- http://secunia.com/advisories/37078
- http://secunia.com/advisories/37911
- http://secunia.com/advisories/55160
- http://secunia.com/advisories/55162
- http://wordpress.org/extend/plugins/woopra/changelog/