Path traversal in OpenEMR - CVE-2018-17180

 

Path traversal in OpenEMR - CVE-2018-17180

Published: May 23, 2019


Vulnerability identifier: #VU18586
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2018-17180
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: OpenEMR
Affected software:
OpenEMR

Detailed vulnerability description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences passed via "docid" HTTP GEt parameter to "/portal/lib/download_template.php" URL. A remote authenticated attacker can send a specially crafted HTTP request and read arbitrary files on the system.


How to mitigate CVE-2018-17180

Install updates from vendor's website.

Sources