Input validation error in OpenEMR - CVE-2011-5161

 

Input validation error in OpenEMR - CVE-2011-5161

Published: September 10, 2012 / Updated: August 11, 2020


Vulnerability identifier: #VU43606
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/U:Green
CVE-ID: CVE-2011-5161
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: OpenEMR
Affected software:
OpenEMR

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

Unrestricted file upload vulnerability in the patient photograph functionality in OpenEMR 4 allows remote attackers to execute arbitrary PHP code by uploading a file with an executable extension followed by a safe extension, then accessing it via a direct request to the patient directory under documents/. Per: http://cwe.mitre.org/data/definitions/434.html 'CWE-434: Unrestricted Upload of File with Dangerous Type'


How to mitigate CVE-2011-5161

Install update from vendor's website.

Sources