Teethgrinder.co.uk Open Flash Chart up to 2.0 File Upload ofc_upload_image.php HTTP_RAW_POST_DATA memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.3 | $0-$5k | 0.00 |
Summary
A vulnerability labeled as critical has been found in Teethgrinder.co.uk Open Flash Chart up to 2.0. Affected by this issue is some unknown functionality of the file ofc_upload_image.php of the component File Upload. Executing a manipulation of the argument HTTP_RAW_POST_DATA can lead to memory corruption. This vulnerability is registered as CVE-2009-4140. Furthermore, an exploit is available.
Details
A vulnerability has been found in Teethgrinder.co.uk Open Flash Chart up to 2.0 and classified as critical. This vulnerability affects an unknown part of the file ofc_upload_image.php of the component File Upload. The manipulation of the argument HTTP_RAW_POST_DATA with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:
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/.
The weakness was published 10/19/2009 by iskorpitx (Website). The advisory is available at exploit-db.com. This vulnerability was named CVE-2009-4140 since 12/01/2009. The exploitation appears to be easy. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Technical details and also a public exploit are known.
A public exploit has been developed by iskorpitx in Ruby and been published immediately after the advisory. It is possible to download the exploit at securityfocus.com. It is declared as highly functional. By approaching the search of inurl:ofc_upload_image.php it is possible to find vulnerable targets with Google Hacking. The vulnerability scanner Nessus provides a plugin with the ID 49271 (OpenX Open Flash Chart ofc_upload_image.php File Upload Arbitrary Code Execution), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CGI abuses.
A possible mitigation has been published 2 days after the disclosure of the vulnerability. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 12651.
The vulnerability is also documented in the databases at X-Force (53825), Exploit-DB (24969), Tenable (49271), SecurityFocus (BID 37314†) and OSVDB (59051†). If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Vendor
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 7.3
VulDB Base Score: 7.3
VulDB Temp Score: 7.3
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Highly functional
Author: iskorpitx
Programming Language: 🔍
Download: 🔍
Google Hack: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 49271
Nessus Name: OpenX Open Flash Chart ofc_upload_image.php File Upload Arbitrary Code Execution
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
OpenVAS ID: 900992
OpenVAS Name: Piwik PHP Code Execution Vulnerability
OpenVAS File: 🔍
OpenVAS Family: 🔍
MetaSploit ID: open_flash_chart_upload_exec.rb
MetaSploit Name: Open Flash Chart v2 Arbitrary File Upload
MetaSploit File: 🔍
D2Sec: ZonPHP 2.25 File Upload
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Exploit Delay Time: 🔍
TippingPoint: 🔍
McAfee IPS: 🔍
McAfee IPS Version: 🔍
Fortigate IPS: 🔍
Timeline
10/19/2009 🔍10/19/2009 🔍
10/20/2009 🔍
10/20/2009 🔍
10/21/2009 🔍
12/01/2009 🔍
12/14/2009 🔍
12/22/2009 🔍
05/09/2010 🔍
05/24/2010 🔍
09/17/2010 🔍
04/22/2013 🔍
03/18/2015 🔍
02/01/2025 🔍
Sources
Advisory: exploit-db.comResearcher: iskorpitx
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2009-4140 (🔍)
GCVE (CVE): GCVE-0-2009-4140
GCVE (VulDB): GCVE-100-51250
X-Force: 53825
SecurityFocus: 37314 - Open Flash Chart 'ofc_upload_image.php' Remote PHP Code Execution Vulnerability
Secunia: 37078 - Piwik Arbitrary File Creation Vulnerability, Highly Critical
OSVDB: 59051 - Open Flash Chart ofc_upload_image.php Multiple Parameter File Upload Arbitrary Code Execution
Vulnerability Center: 25836 - Open Flash Chart, Woopra Analytic and Piwik Remote Arbitrary Code Execution vulnerability, Medium
Vupen: ADV-2009-2966
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 03/18/2015 15:15Updated: 02/01/2025 12:51
Changes: 03/18/2015 15:15 (76), 01/29/2018 16:08 (22), 08/30/2021 09:31 (3), 02/01/2025 12:51 (14)
Complete: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.