vendor:
OpenEMR
by:
Gjoko 'LiquidWorm' Krstic
7,5
CVSS
HIGH
Arbitrary File Upload
434
CWE
Product Name: OpenEMR
Affected Version From: 4.1.1
Affected Version To: 4.1.1
Patch Exists: YES
Related CWE: N/A
CPE: a:openemr:openemr
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Microsoft Windows 7 Ultimate SP1 (EN), Fedora Linux, Apache2, PHP 5.4 MySQL 5.5
2013
OpenEMR 4.1.1 (ofc_upload_image.php) Arbitrary File Upload Vulnerability
The vulnerability is caused due to the improper verification of uploaded files in '/library/openflashchart/php-ofc-library/ofc_upload_image.php' script thru the 'name' parameter. This can be exploited to execute arbitrary PHP code by uploading a malicious PHP script with multiple extensions.
Mitigation:
Ensure that the uploaded files are properly verified before being accepted.