{"id":"CVE-2011-5161","aliases":["EUVD-2011-5061","GHSA-35cf-cqr4-fr2m"],"status":"published","title":"Unrestricted file upload vulnerability in the patient photograph functionality in OpenEMR 4...","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/.","severity":{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01965,"percentile":0.80495,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"published":"2012-09-09T21:00:00Z","modified":"2026-06-16T23:36:03Z","exploits":[{"source":"exploitdb","id":"EDB-18274","title":"OpenEMR 4 - Multiple Vulnerabilities","type":"webapps","platform":"php","date":"2011-12-25","url":"https://www.exploit-db.com/exploits/18274"}],"products":[{"vendor":"open-emr","product":"openemr"}],"references":[{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/71981","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.exploit-db.com/exploits/18274","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","Exploit"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2011-5161"},{"url":"https://github.com/advisories/GHSA-35cf-cqr4-fr2m"}],"sources":{"cve":[{"id":"CVE-2011-5161","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/.","status":"published","published":"2012-09-09T21:00:00Z","modified":"2024-08-07T00:30:44.481Z","updated_at":"2026-11-02T14:35:35.912488Z"}],"euvd":[{"id":"EUVD-2011-5061","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/.","status":"published","published":"2012-09-09T21:00:00Z","modified":"2024-08-07T00:30:44Z","updated_at":"2026-11-03T01:39:47.222761Z"}],"ghsa":[{"id":"GHSA-35cf-cqr4-fr2m","title":"Unrestricted file upload vulnerability in the patient photograph functionality in OpenEMR 4...","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/.","status":"published","published":"2022-05-17T01:50:50Z","modified":"2023-02-03T05:05:30Z","updated_at":"2026-11-02T14:53:45.336505Z"}],"nvd":[{"id":"CVE-2011-5161","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/.","status":"published","published":"2012-09-09T21:55:04.103Z","modified":"2026-06-16T23:36:03.737Z","cvss":[{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:02:12.639283Z"}]}}
