{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2011-5161","published":"2012-09-09T21:55:04.103000Z","last_modified":"2026-06-16T23:36:03.737000Z","status":"Modified","cvss":{"version":"2.0","score":6.8,"severity":"MEDIUM","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":[],"cpes":[{"criteria":"cpe:2.3:a:open-emr:openemr:4.0.0:*:*:*:*:*:*:*","part":"a","vendor":"open-emr","product":"openemr","version":"4.0.0"},{"criteria":"cpe:2.3:a:open-emr:openemr:4.1.0:*:*:*:*:*:*:*","part":"a","vendor":"open-emr","product":"openemr","version":"4.1.0"},{"criteria":"cpe:2.3:a:open-emr:openemr:4.1.1:*:*:*:*:*:*:*","part":"a","vendor":"open-emr","product":"openemr","version":"4.1.1"}],"cpes_truncated":false,"vendors":["open-emr"],"products":["open-emr/openemr"],"cat":"app","platform":"multi","eol":false,"severity":"medium","priority_score":56,"links":{"html_es":"/es/cve/CVE-2011-5161/","html_en":"/en/cve/CVE-2011-5161/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2011-5161","cve_org":"https://www.cve.org/CVERecord?id=CVE-2011-5161"},"untrusted":{"vendor_name":"Open-emr","product_name":"Openemr","desc_en":"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/.","affected":[],"references":[{"url":"http://www.exploit-db.com/exploits/18274","tags":["Exploit"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/71981","tags":[]}]}}