CVE-2009-4140

Exp

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/.

Published: 2009-12-22 Last update: 2026-04-23 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2009-4140 is rated High Exploit Risk (83.9/100): CVSS High severity, with high exploitation likelihood (EPSS 91.09%, 100th percentile). Core evidence: 8 public exploit reference(s) are indexed (Exploit-DB). EPSS rose +4.06% over the last day, indicating growing attacker interest. Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2009-4140

EDB-ID Source Kind Published Link
29210 exploit_db edb 2013-10-26 Exploit-DB ↗
29091 exploit_db edb 2013-10-20 Exploit-DB ↗
24969 exploit_db edb 2013-04-22 Exploit-DB ↗
24529 exploit_db edb 2013-02-20 Exploit-DB ↗
24492 exploit_db edb 2013-02-13 Exploit-DB ↗
10532 exploit_db edb 2009-12-17 Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2009-4140

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-03-04 87.03% 91.09% +4.06%
2 2026-03-01 91.09% 87.03% -4.06%
3 2026-02-04 91.09%

Full EPSS history (37 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2009-4140

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 2.0 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
10.0 6.4 [email protected]

Weakness enumeration for CVE-2009-4140

OS Trackers for CVE-2009-4140

vendor priority summary link
debian unimportant CVE-2009-4140 unimportant priority: Debian including 1 source packages (matomo), 2 status rows across 2 suites (sid, trixie): resolved 2. https://security-tracker.debian.org/tracker/CVE-2009-4140

Affected software / configurations for CVE-2009-4140

Vendor Product Version Raw CPE
teethgrinder.co.uk open_flash_chart 2.0 cpe:2.3:a:teethgrinder.co.uk:open_flash_chart:2.0:beta_1:*:*:*:*:*:*
teethgrinder.co.uk open_flash_chart 2.0 cpe:2.3:a:teethgrinder.co.uk:open_flash_chart:2.0:gamera:*:*:*:*:*:*
teethgrinder.co.uk open_flash_chart 2.0 cpe:2.3:a:teethgrinder.co.uk:open_flash_chart:2.0:hyperion:*:*:*:*:*:*
teethgrinder.co.uk open_flash_chart 2.0 cpe:2.3:a:teethgrinder.co.uk:open_flash_chart:2.0:ichor:*:*:*:*:*:*
teethgrinder.co.uk open_flash_chart 2.0 cpe:2.3:a:teethgrinder.co.uk:open_flash_chart:2.0:j_rmungandr:*:*:*:*:*:*
teethgrinder.co.uk open_flash_chart 2.0 cpe:2.3:a:teethgrinder.co.uk:open_flash_chart:2.0:j_rmungandr-2:*:*:*:*:*:*
teethgrinder.co.uk open_flash_chart 2.0 cpe:2.3:a:teethgrinder.co.uk:open_flash_chart:2.0:kvasir:*:*:*:*:*:*
teethgrinder.co.uk open_flash_chart 2.0 cpe:2.3:a:teethgrinder.co.uk:open_flash_chart:2.0:lug_wyrm_charmer:*:*:*:*:*:*
matomo matomo 0.2.37 cpe:2.3:a:matomo:matomo:0.2.37:*:*:*:*:*:*:*
matomo matomo 0.4.2 cpe:2.3:a:matomo:matomo:0.4.2:*:*:*:*:*:*:*
matomo matomo 0.4.3 cpe:2.3:a:matomo:matomo:0.4.3:*:*:*:*:*:*:*

References for CVE-2009-4140

URL Tags
http://packetstormsecurity.com/files/123493/wpseowatcher-exec.txt
http://packetstormsecurity.com/files/123494/wpslimstatex-exec.txt
http://packetstormsecurity.org/0910-exploits/piwik-upload.txt Exploit
http://piwik.org/blog/2009/10/piwik-response-to-secunia-advisory-sa37078/ Vendor Advisory
http://secunia.com/advisories/37078 Vendor Advisory
http://secunia.com/advisories/37911 Vendor Advisory
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 Exploit
http://www.vupen.com/english/advisories/2009/2966 Vendor Advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/53825
cvelogic Threat Intelligence