#VU31241 Path traversal in OpenEMR - CVE-2018-15142

 

#VU31241 Path traversal in OpenEMR - CVE-2018-15142

Published: August 13, 2018 / Updated: June 17, 2021


Vulnerability identifier: #VU31241
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Amber
CVE-ID: CVE-2018-15142
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vulnerable software:
OpenEMR
Software vendor:
OpenEMR

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.

External links