{"id":"CVE-2018-15139","aliases":["EUVD-2018-7019","GHSA-r3wf-qw98-rgj3"],"status":"published","title":"Unrestricted file upload in interface/super/manage_site_files.php in versions of OpenEMR before 5...","description":"Unrestricted file upload in interface/super/manage_site_files.php in versions of OpenEMR before 5.0.1.4 allows a remote authenticated attacker to execute arbitrary PHP code by uploading a file with a PHP extension via the images upload form and accessing it in the images directory.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.19043,"percentile":0.97327,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-434"],"published":"2018-08-13T18:00:00Z","modified":"2026-10-20T10:50:20Z","exploits":[{"source":"exploitdb","id":"EDB-49998","title":"OpenEMR 5.0.1.3 - 'manage_site_files' Remote Code Execution (Authenticated)","type":"webapps","platform":"php","date":"2021-06-14","url":"https://www.exploit-db.com/exploits/49998"},{"source":"exploitdb","id":"EDB-50122","title":"OpenEMR 5.0.1.3 - 'manage_site_files' Remote Code Execution (Authenticated) (2)","type":"webapps","platform":"php","date":"2021-07-13","url":"https://www.exploit-db.com/exploits/50122"},{"source":"pocgithub","id":"sec-it/exploit-CVE-2018-15139","title":"sec-it/exploit-CVE-2018-15139","date":"2021-07-05","url":"https://github.com/sec-it/exploit-CVE-2018-15139"}],"products":[{"vendor":"open-emr","product":"openemr"}],"references":[{"url":"https://www.databreaches.net/openemr-patches-serious-vulnerabilities-uncovered-by-project-insecurity/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"https://github.com/openemr/openemr/pull/1757/commits/c2808a0493243f618bbbb3459af23c7da3dc5485","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix"]},{"url":"http://packetstormsecurity.com/files/163110/OpenEMR-5.0.1.3-Shell-Upload.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"http://packetstormsecurity.com/files/163482/OpenEMR-5.0.1.3-Shell-Upload.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"https://github.com/Hacker5preme/Exploits/tree/main/CVE-2018-15139-Exploit","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-15139"},{"url":"https://github.com/advisories/GHSA-r3wf-qw98-rgj3"}],"sources":{"cve":[{"id":"CVE-2018-15139","description":"Unrestricted file upload in interface/super/manage_site_files.php in versions of OpenEMR before 5.0.1.4 allows a remote authenticated attacker to execute arbitrary PHP code by uploading a file with a PHP extension via the images upload form and accessing it in the images directory.","status":"published","published":"2018-08-13T18:00:00Z","modified":"2024-08-05T09:46:25.459Z","updated_at":"2026-11-02T14:35:03.825765Z"}],"euvd":[{"id":"EUVD-2018-7019","description":"Unrestricted file upload in interface/super/manage_site_files.php in versions of OpenEMR before 5.0.1.4 allows a remote authenticated attacker to execute arbitrary PHP code by uploading a file with a PHP extension via the images upload form and accessing it in the images directory.","status":"published","published":"2018-08-13T18:00:00Z","modified":"2024-08-05T09:46:25Z","updated_at":"2026-11-03T02:39:45.27774Z"}],"ghsa":[{"id":"GHSA-r3wf-qw98-rgj3","title":"Unrestricted file upload in interface/super/manage_site_files.php in versions of OpenEMR before 5...","description":"Unrestricted file upload in interface/super/manage_site_files.php in versions of OpenEMR before 5.0.1.4 allows a remote authenticated attacker to execute arbitrary PHP code by uploading a file with a PHP extension via the images upload form and accessing it in the images directory.","status":"published","published":"2022-05-13T01:03:35Z","modified":"2023-02-01T05:02:42Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T14:49:57.319635Z"}],"nvd":[{"id":"CVE-2018-15139","description":"Unrestricted file upload in interface/super/manage_site_files.php in versions of OpenEMR before 5.0.1.4 allows a remote authenticated attacker to execute arbitrary PHP code by uploading a file with a PHP extension via the images upload form and accessing it in the images directory.","status":"published","published":"2018-08-13T18:29:00.247Z","modified":"2026-06-17T01:42:06.973Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T14:04:35.310988Z"}],"osv":[{"id":"CVE-2018-15139","description":"Unrestricted file upload in interface/super/manage_site_files.php in versions of OpenEMR before 5.0.1.4 allows a remote authenticated attacker to execute arbitrary PHP code by uploading a file with a PHP extension via the images upload form and accessing it in the images directory.","status":"published","published":"2018-08-13T18:29:00.247Z","modified":"2026-10-20T10:50:20.333087655Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:08.242347Z"}]}}
