Vulnerability Details : CVE-2009-4140
Public exploit exists!
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/.
Vulnerability category: Execute code
Exploit prediction scoring system (EPSS) score for CVE-2009-4140
Probability of exploitation activity in the next 30 days: 97.28%
Percentile, the proportion of vulnerabilities that are scored at or less: ~ 100 % EPSS Score History EPSS FAQ
Metasploit modules for CVE-2009-4140
-
Open Flash Chart v2 Arbitrary File Upload
Disclosure Date: 2009-12-14First seen: 2020-04-26exploit/unix/webapp/open_flash_chart_upload_execThis module exploits a file upload vulnerability found in Open Flash Chart version 2. Attackers can abuse the 'ofc_upload_image.php' file in order to upload and execute malicious PHP files. Authors: - Braeden Thomas - Gjoko Krstic <gjoko@zeroscience.mk> - Hali -
OpenEMR PHP File Upload Vulnerability
Disclosure Date: 2013-02-13First seen: 2020-04-26exploit/unix/webapp/openemr_upload_execThis module exploits a vulnerability found in OpenEMR 4.1.1 By abusing the ofc_upload_image.php file from the openflashchart library, a malicious user can upload a file to the tmp-upload-images directory without any authentication, which results in arbitrary code e
CVSS scores for CVE-2009-4140
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source |
---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST |
References for CVE-2009-4140
-
http://packetstormsecurity.com/files/123494/wpslimstatex-exec.txt
-
http://www.securityfocus.com/bid/37314
Open Flash Chart 'ofc_upload_image.php' Remote PHP Code Execution VulnerabilityExploit
-
http://piwik.org/blog/2009/10/piwik-response-to-secunia-advisory-sa37078/
Vendor Advisory
-
http://www.vupen.com/english/advisories/2009/2966
Vendor Advisory
-
http://packetstormsecurity.org/0910-exploits/piwik-upload.txt
Exploit
-
http://www.exploit-db.com/exploits/24969
-
http://packetstormsecurity.com/files/123493/wpseowatcher-exec.txt
-
http://www.openwall.com/lists/oss-security/2009/12/14/1
-
http://wordpress.org/extend/plugins/woopra/changelog/
-
https://exchange.xforce.ibmcloud.com/vulnerabilities/53825
-
http://www.openwall.com/lists/oss-security/2009/12/14/3
Products affected by CVE-2009-4140
- cpe:2.3:a:teethgrinder.co.uk:open_flash_chart:2.0:beta_1:*:*:*:*:*:*
- cpe:2.3:a:teethgrinder.co.uk:open_flash_chart:2.0:lug_wyrm_charmer:*:*:*:*:*:*
- cpe:2.3:a:teethgrinder.co.uk:open_flash_chart:2.0:ichor:*:*:*:*:*:*
- cpe:2.3:a:teethgrinder.co.uk:open_flash_chart:2.0:j_rmungandr:*:*:*:*:*:*
- cpe:2.3:a:teethgrinder.co.uk:open_flash_chart:2.0:j_rmungandr-2:*:*:*:*:*:*
- cpe:2.3:a:teethgrinder.co.uk:open_flash_chart:2.0:kvasir:*:*:*:*:*:*
- cpe:2.3:a:teethgrinder.co.uk:open_flash_chart:2.0:gamera:*:*:*:*:*:*
- cpe:2.3:a:teethgrinder.co.uk:open_flash_chart:2.0:hyperion:*:*:*:*:*:*
- cpe:2.3:a:matomo:matomo:0.4.3:*:*:*:*:*:*:*
- cpe:2.3:a:matomo:matomo:0.2.37:*:*:*:*:*:*:*
- cpe:2.3:a:matomo:matomo:0.4.2:*:*:*:*:*:*:*