the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew  

Vulnerability Details : CVE-2009-4140 (2 public exploits)

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, 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/.
Publish Date : 2009-12-22 Last Update Date : 2017-08-16
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
Access Complexity Low (Specialized access conditions or extenuating circumstances do not exist. Very little knowledge or skill is required to exploit. )
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Execute Code
CWE ID CWE id is not defined for this vulnerability

- Products Affected By CVE-2009-4140

# Product Type Vendor Product Version Update Edition Language
1 Application Piwik Piwik 0.2.35 Version Details Vulnerabilities
2 Application Piwik Piwik 0.2.36 Version Details Vulnerabilities
3 Application Piwik Piwik 0.2.37 Version Details Vulnerabilities
4 Application Piwik Piwik 0.4 Version Details Vulnerabilities
5 Application Piwik Piwik 0.4.1 Version Details Vulnerabilities
6 Application Piwik Piwik 0.4.2 Version Details Vulnerabilities
7 Application Piwik Piwik 0.4.3 Version Details Vulnerabilities
8 Application Open Flash Chart 2.0 Ichor Version Details Vulnerabilities
9 Application Open Flash Chart 2.0 J Rmungandr Version Details Vulnerabilities
10 Application Open Flash Chart 2.0 J Rmungandr-2 Version Details Vulnerabilities
11 Application Open Flash Chart 2.0 Beta 1 Version Details Vulnerabilities
12 Application Open Flash Chart 2.0 Kvasir Version Details Vulnerabilities
13 Application Open Flash Chart 2.0 Gamera Version Details Vulnerabilities
14 Application Open Flash Chart 2.0 Lug Wyrm Charmer Version Details Vulnerabilities
15 Application Open Flash Chart 2.0 Hyperion Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Piwik Piwik 7 Open Flash Chart 8

- References For CVE-2009-4140
XF piwik-ofcuploadimage-code-execution(53825)
BID 37314 Open Flash Chart 'ofc_upload_image.php' Remote PHP Code Execution Vulnerability Release Date:2013-12-02
VUPEN ADV-2009-2966
MLIST [oss-security] 20091214 Re: CVE Request - Open Flash Chart v2
EXPLOIT-DB 24969 CiviCRM for Joomla 4.2.2 - Remote Code Injection Author:iskorpitx Release Date:2013-04-22 (php) webapps CONFIRM
Exploit! CONFIRM
MLIST [oss-security] 20091214 CVE Request - Open Flash Chart v2

- Metasploit Modules Related To CVE-2009-4140

Open Flash Chart v2 Arbitrary File Upload
This 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.
Module type : exploit Rank : great Platforms : PHP
OpenEMR PHP File Upload Vulnerability
This 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 execution. The module has been tested successfully on OpenEMR 4.1.1 over Ubuntu 10.04.
Module type : exploit Rank : excellent Platforms : PHP

CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.