CVE-2011-5161 File upload in n/a
Remote attackers can execute arbitrary PHP code by uploading malicious files to the patient photograph directory in OpenEMR.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2011-5161?
CVE-2011-5161 is a medium-severity vulnerability in Open-Emr Openemr, published on 9 Sep 2012. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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/.
Which versions are affected by CVE-2011-5161?
It affects 1 product.
Products include Open-Emr Openemr.
How do I fix CVE-2011-5161?
No fix has been published for CVE-2011-5161 yet. Limit exposure of the affected software until one is available.
Is CVE-2011-5161 being exploited?
There is no known exploitation of CVE-2011-5161 in the wild and no public exploit code.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Open-Emr Openemr
- CVE-2026-24898 OpenEMR has an Unauthenticated MedEx Token Disclosure
- CVE-2026-24849 OpenEMR Arbitrary File Read Vulnerability
- CVE-2026-24908 OpenEMR has SQL Injection in Patient API Sort Parameter
- CVE-2022-2734 Improper Restriction of Rendered UI Layers or Frames in openemr/openemr
- CVE-2024-22611 SQL injection in n/a
Sources
Also known as GHSA-35cf-cqr4-fr2m.