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
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.3$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Vendor

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 7.3

VulDB Base Score: 7.3
VulDB Temp Score: 7.3
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

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 Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Exploit Delay Time: 🔍
TippingPoint: 🔍

McAfee IPS: 🔍
McAfee IPS Version: 🔍

Fortigate IPS: 🔍

Timelineinfo

10/19/2009 🔍
10/19/2009 +0 days 🔍
10/20/2009 +1 days 🔍
10/20/2009 +0 days 🔍
10/21/2009 +0 days 🔍
12/01/2009 +41 days 🔍
12/14/2009 +13 days 🔍
12/22/2009 +8 days 🔍
05/09/2010 +138 days 🔍
05/24/2010 +15 days 🔍
09/17/2010 +116 days 🔍
04/22/2013 +948 days 🔍
03/18/2015 +695 days 🔍
02/01/2025 +3608 days 🔍

Sourcesinfo

Advisory: exploit-db.com
Researcher: 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

Entryinfo

Created: 03/18/2015 15:15
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!