ID:6171 - Exploit for Path traversal in OpenEMR - CVE-2018-15142

 
Main Vulnerability Database Exploits ID:6171 - Exploit for Path traversal in OpenEMR - CVE-2018-15142

ID:6171 - Exploit for Path traversal in OpenEMR - CVE-2018-15142

Published: June 17, 2021


Vulnerability identifier: #VU31241
Vulnerability risk: High
CVE-ID: CVE-2018-15142
CWE-ID: CWE-22
Exploitation vector: Remote access
Vulnerable software:
OpenEMR

Link to public exploit:


Vulnerability description

The vulnerability allows a remote authenticated user to execute arbitrary code.

Directory traversal in portal/import_template.php in versions of OpenEMR before 5.0.1.4 allows a remote attacker authenticated in the patient portal to execute arbitrary PHP code by writing a file with a PHP extension via the "docid" and "content" parameters and accessing it in the traversed directory.


Remediation

Install update from vendor's website.