Exploit database

Vulnerability

CVE-2009-4140

Vulnerability details

Score
7.5
Severity
high

CVSS 2.0 · NVD

Vector string

AV:N/AC:L/Au:N/C:P/I:P/A:P

Description

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

CVE Program

Exploit source choices

9 sources
OpenEMR PHP File Upload Vulnerability
MSF-unix--webapp--openemr_upload_execMetasploitPHP / remote

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.

2013-02-13openemr_upload_exec.rb
Open Flash Chart v2 Arbitrary File Upload
MSF-unix--webapp--open_flash_chart_upload_execMetasploitPHP / remote

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.

2009-12-14open_flash_chart_upload_exec.rb
alexeyan/cve-2009-4137
GH-6887d873647a11a938b9395418280d94GitHubUnofficial GitHub source

Exploit for piwik CVE-2009-4140 RCE

2017-11-281 file · 4 stars