{"id":"CVE-2009-4140","aliases":["EUVD-2009-4110","GHSA-x396-wp63-mv42"],"status":"published","title":"Unrestricted file upload vulnerability in ofc_upload_image.php in Open Flash Chart v2 Beta 1...","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/.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.75838,"percentile":0.99528,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"published":"2009-12-22T22:00:00Z","modified":"2026-06-16T23:13:06Z","exploits":[{"source":"exploitdb","id":"EDB-10532","title":"Piwik Open Flash Chart - Remote Code Execution","type":"webapps","platform":"php","date":"2009-12-17","url":"https://www.exploit-db.com/exploits/10532"},{"source":"exploitdb","id":"EDB-24492","title":"OpenEMR 4.1.1 - 'ofc_upload_image.php' Arbitrary File Upload","type":"webapps","platform":"php","date":"2013-02-13","verified":true,"url":"https://www.exploit-db.com/exploits/24492"},{"source":"exploitdb","id":"EDB-24529","title":"OpenEMR - Arbitrary '.PHP' File Upload (Metasploit)","type":"remote","platform":"php","date":"2013-02-20","verified":true,"url":"https://www.exploit-db.com/exploits/24529"},{"source":"exploitdb","id":"EDB-24969","title":"Joomla! Component com_civicrm 4.2.2 - Remote Code Injection","type":"webapps","platform":"php","date":"2013-04-22","verified":true,"url":"https://www.exploit-db.com/exploits/24969"},{"source":"exploitdb","id":"EDB-29091","title":"ZonPHP 2.25 - Remote Code Execution","type":"webapps","platform":"php","date":"2013-10-20","verified":true,"url":"https://www.exploit-db.com/exploits/29091"},{"source":"exploitdb","id":"EDB-29210","title":"Open Flash Chart 2 - Arbitrary File Upload (Metasploit)","type":"remote","platform":"php","date":"2013-10-26","verified":true,"url":"https://www.exploit-db.com/exploits/29210"},{"source":"metasploit","id":"exploit/unix/webapp/open_flash_chart_upload_exec","title":"Open Flash Chart v2 Arbitrary File Upload","type":"exploit","platform":"PHP","date":"2009-12-14","verified":true,"url":"https://www.rapid7.com/db/modules/exploit/unix/webapp/open_flash_chart_upload_exec"},{"source":"metasploit","id":"exploit/unix/webapp/openemr_upload_exec","title":"OpenEMR PHP File Upload Vulnerability","type":"exploit","platform":"PHP","date":"2013-02-13","verified":true,"url":"https://www.rapid7.com/db/modules/exploit/unix/webapp/openemr_upload_exec"}],"products":[{"vendor":"matomo","product":"matomo"},{"vendor":"teethgrinder.co.uk","product":"open_flash_chart"}],"references":[{"url":"http://www.securityfocus.com/bid/37314","tags":["vdb-entry","x_refsource_BID","x_transferred","Exploit"]},{"url":"http://www.osvdb.org/59051","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"http://packetstormsecurity.com/files/123494/wpslimstatex-exec.txt","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2009/12/14/3","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2009/12/14/1","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/53825","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://secunia.com/advisories/55160","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://wordpress.org/extend/plugins/woopra/changelog/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://packetstormsecurity.org/0910-exploits/piwik-upload.txt","tags":["x_refsource_MISC","x_transferred","Exploit"]},{"url":"http://secunia.com/advisories/37078","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://www.exploit-db.com/exploits/24969","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"]},{"url":"http://secunia.com/advisories/55162","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://piwik.org/blog/2009/10/piwik-response-to-secunia-advisory-sa37078/","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory"]},{"url":"http://www.vupen.com/english/advisories/2009/2966","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Vendor Advisory"]},{"url":"http://packetstormsecurity.com/files/123493/wpseowatcher-exec.txt","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://secunia.com/advisories/37911","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2009-4140"},{"url":"http://piwik.org/blog/2009/10/piwik-response-to-secunia-advisory-sa37078"},{"url":"http://wordpress.org/extend/plugins/woopra/changelog"},{"url":"https://github.com/advisories/GHSA-x396-wp63-mv42"}],"sources":{"cve":[{"id":"CVE-2009-4140","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/.","status":"published","published":"2009-12-22T22:00:00Z","modified":"2024-08-07T06:54:09.663Z","updated_at":"2026-11-02T14:33:24.782697Z"}],"euvd":[{"id":"EUVD-2009-4110","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/.","status":"published","published":"2009-12-22T22:00:00Z","modified":"2024-08-07T06:54:09Z","updated_at":"2026-11-03T01:39:11.214145Z"}],"ghsa":[{"id":"GHSA-x396-wp63-mv42","title":"Unrestricted file upload vulnerability in ofc_upload_image.php in Open Flash Chart v2 Beta 1...","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/.","status":"published","published":"2022-05-02T03:51:56Z","modified":"2025-04-09T04:18:41Z","updated_at":"2026-11-02T15:01:01.61975Z"}],"nvd":[{"id":"CVE-2009-4140","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/.","status":"published","published":"2009-12-22T22:30:00.53Z","modified":"2026-06-16T23:13:06.88Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:01:38.33745Z"}]}}
