CVE-2018-17180 Path traversal in n/a
Attackers can read arbitrary files from the server via directory traversal in the download_template.php script of OpenEMR.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2018-17180?
CVE-2018-17180 is a medium-severity path traversal vulnerability in Open-Emr Openemr, published on 17 May 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue was discovered in OpenEMR before 5.0.1 Patch 7. Directory Traversal exists via docid=../ to /portal/lib/download_template.php.
Weakness: CWE-22
Which versions are affected by CVE-2018-17180?
It affects 1 product.
Products include Open-Emr Openemr.
How do I fix CVE-2018-17180?
No fix has been published for CVE-2018-17180 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2018-17180 being exploited?
There is no known exploitation of CVE-2018-17180 in the wild and no public exploit code.
Other vulnerabilities in Open-Emr Openemr
- CVE-2026-24898 OpenEMR has an Unauthenticated MedEx Token Disclosure
- CVE-2026-24849 OpenEMR Arbitrary File Read Vulnerability
- CVE-2026-24908 OpenEMR has SQL Injection in Patient API Sort Parameter
- CVE-2022-2734 Improper Restriction of Rendered UI Layers or Frames in openemr/openemr
- CVE-2024-22611 SQL injection in n/a
Sources
Also known as GHSA-c98x-6gr6-vqgj.