Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
7.5
CVE-2009-4140: Open Flash Chart file upload lets attackers run code
CVE-2009-4140 · published 16 years ago
Summary
The Open Flash Chart component used in Matomo can let a logged‑in user upload a file with a dangerous extension when a legacy PHP setting (register_globals) is turned on. That file can then be accessed and executed, giving the attacker control of the server. Fix the issue by applying the latest component updates, disabling the register_globals setting, or removing the vulnerable upload feature.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| teethgrinder.co.uk | open_flash_chart |
2.0 cpe:2.3:a:teethgrinder.co.uk:open_flash_chart:2.0:beta_1:*:*:*:*:*:* |
| matomo | matomo |
0.2.37 0.4.2 0.4.3 cpe:2.3:a:matomo:matomo:0.2.37:*:*:*:*:*:*:* |
Original advisory text
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...
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/.
References
- 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
Internet-facing
14 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically (estimated)
- Gives an attacker partial control (estimated)
Severity
7.5
High
Timeline
Published22 Dec 2009
Updated29 Sep 2026
First seen29 Sep 2026
Sources
CVE-2009-4140 · NVD
Track software like this
Free during beta