CVE-2018-15140 Path traversal in n/a
Authenticated attackers can read arbitrary files via directory traversal in the patient portal import template feature.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2018-15140?
CVE-2018-15140 is a medium-severity path traversal vulnerability in Open-Emr Openemr, published on 13 Aug 2018. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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 read arbitrary files via the "docid" parameter when the mode is set to get.
Weakness: CWE-22
Which versions are affected by CVE-2018-15140?
It affects 1 product.
Products include Open-Emr Openemr.
How do I fix CVE-2018-15140?
No fix has been published for CVE-2018-15140 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-15140 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-15140 exists.
Public exploit code: 1 Exploit-DB entry.
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-626q-gj8m-2m4w.