6.8
CVSSv2

CVE-2011-5161

Published: 09/09/2012 Updated: 29/08/2017
CVSS v2 Base Score: 6.8 | Impact Score: 6.4 | Exploitability Score: 8.6
VMScore: 685
Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P

Vulnerability Summary

Unrestricted file upload vulnerability in the patient photograph functionality in OpenEMR 4 allows remote malicious users 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/.

Vulnerable Product Search on Vulmon Subscribe to Product

open-emr openemr 4.0.0

open-emr openemr 4.1.1

open-emr openemr 4.1.0

Exploits

OpenEMR 4 (Level @ Smash The Stack) Summary: Patient Photograph Arbitrary File Upload Initial Comment: 1 Login with valid User/Pass 2 Patient/Client -> Search/New Patient (search for anything) 3 Click Documents -> Patient Photograph 4 Upload Shell URL: wwwexamplecom/openemr/sites/SITENAME/documents/PATIENTID/shellphpjpg?cmd=i ...