{"id":"CVE-2009-4140","state":"PUBLISHED","title":"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 Pl","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/.","publishedAt":"2009-12-22T22:00:00.000Z","updatedAt":"2024-08-07T06:54:09.663Z","severity":null,"assigner":"redhat","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.securityfocus.com/bid/37314","http://www.osvdb.org/59051","http://packetstormsecurity.com/files/123494/wpslimstatex-exec.txt","http://www.openwall.com/lists/oss-security/2009/12/14/3","http://www.openwall.com/lists/oss-security/2009/12/14/1","https://exchange.xforce.ibmcloud.com/vulnerabilities/53825","http://secunia.com/advisories/55160","http://wordpress.org/extend/plugins/woopra/changelog/","http://packetstormsecurity.org/0910-exploits/piwik-upload.txt","http://secunia.com/advisories/37078","http://www.exploit-db.com/exploits/24969","http://secunia.com/advisories/55162","http://piwik.org/blog/2009/10/piwik-response-to-secunia-advisory-sa37078/","http://www.vupen.com/english/advisories/2009/2966","http://packetstormsecurity.com/files/123493/wpseowatcher-exec.txt","http://secunia.com/advisories/37911"],"weaknesses":[],"ingestedAt":"2026-10-29T19:39:26.132Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2009/4xxx/CVE-2009-4140.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2009-4140","state":"PUBLISHED","datePublished":"2009-12-22T22:00:00.000Z","dateUpdated":"2024-08-07T06:54:09.663Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2009-12-01T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.securityfocus.com/bid/37314","name":"37314","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.osvdb.org/59051","name":"59051","tags":["vdb-entry","x_refsource_OSVDB"]},{"url":"http://packetstormsecurity.com/files/123494/wpslimstatex-exec.txt","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2009/12/14/3","name":"[oss-security] 20091214 Re: CVE Request - Open Flash Chart v2","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.openwall.com/lists/oss-security/2009/12/14/1","name":"[oss-security] 20091214 CVE Request - Open Flash Chart v2","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/53825","name":"piwik-ofcuploadimage-code-execution(53825)","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://secunia.com/advisories/55160","name":"55160","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://wordpress.org/extend/plugins/woopra/changelog/","tags":["x_refsource_CONFIRM"]},{"url":"http://packetstormsecurity.org/0910-exploits/piwik-upload.txt","tags":["x_refsource_MISC"]},{"url":"http://secunia.com/advisories/37078","name":"37078","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.exploit-db.com/exploits/24969","name":"24969","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://secunia.com/advisories/55162","name":"55162","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://piwik.org/blog/2009/10/piwik-response-to-secunia-advisory-sa37078/","tags":["x_refsource_CONFIRM"]},{"url":"http://www.vupen.com/english/advisories/2009/2966","name":"ADV-2009-2966","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://packetstormsecurity.com/files/123493/wpseowatcher-exec.txt","tags":["x_refsource_MISC"]},{"url":"http://secunia.com/advisories/37911","name":"37911","tags":["third-party-advisory","x_refsource_SECUNIA"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2017-08-16T14:57:01.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"datePublic":"2009-10-20T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2009-4140","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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/."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"37314","refsource":"BID","url":"http://www.securityfocus.com/bid/37314"},{"name":"59051","refsource":"OSVDB","url":"http://www.osvdb.org/59051"},{"name":"http://packetstormsecurity.com/files/123494/wpslimstatex-exec.txt","refsource":"MISC","url":"http://packetstormsecurity.com/files/123494/wpslimstatex-exec.txt"},{"name":"[oss-security] 20091214 Re: CVE Request - Open Flash Chart v2","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2009/12/14/3"},{"name":"[oss-security] 20091214 CVE Request - Open Flash Chart v2","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2009/12/14/1"},{"name":"piwik-ofcuploadimage-code-execution(53825)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/53825"},{"name":"55160","refsource":"SECUNIA","url":"http://secunia.com/advisories/55160"},{"name":"http://wordpress.org/extend/plugins/woopra/changelog/","refsource":"CONFIRM","url":"http://wordpress.org/extend/plugins/woopra/changelog/"},{"name":"http://packetstormsecurity.org/0910-exploits/piwik-upload.txt","refsource":"MISC","url":"http://packetstormsecurity.org/0910-exploits/piwik-upload.txt"},{"name":"37078","refsource":"SECUNIA","url":"http://secunia.com/advisories/37078"},{"name":"24969","refsource":"EXPLOIT-DB","url":"http://www.exploit-db.com/exploits/24969"},{"name":"55162","refsource":"SECUNIA","url":"http://secunia.com/advisories/55162"},{"name":"http://piwik.org/blog/2009/10/piwik-response-to-secunia-advisory-sa37078/","refsource":"CONFIRM","url":"http://piwik.org/blog/2009/10/piwik-response-to-secunia-advisory-sa37078/"},{"name":"ADV-2009-2966","refsource":"VUPEN","url":"http://www.vupen.com/english/advisories/2009/2966"},{"name":"http://packetstormsecurity.com/files/123493/wpseowatcher-exec.txt","refsource":"MISC","url":"http://packetstormsecurity.com/files/123493/wpseowatcher-exec.txt"},{"name":"37911","refsource":"SECUNIA","url":"http://secunia.com/advisories/37911"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.securityfocus.com/bid/37314","name":"37314","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://www.osvdb.org/59051","name":"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","name":"[oss-security] 20091214 Re: CVE Request - Open Flash Chart v2","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2009/12/14/1","name":"[oss-security] 20091214 CVE Request - Open Flash Chart v2","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/53825","name":"piwik-ofcuploadimage-code-execution(53825)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://secunia.com/advisories/55160","name":"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"]},{"url":"http://secunia.com/advisories/37078","name":"37078","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.exploit-db.com/exploits/24969","name":"24969","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"]},{"url":"http://secunia.com/advisories/55162","name":"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"]},{"url":"http://www.vupen.com/english/advisories/2009/2966","name":"ADV-2009-2966","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://packetstormsecurity.com/files/123493/wpseowatcher-exec.txt","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://secunia.com/advisories/37911","name":"37911","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-07T06:54:09.663Z"}}]}}}