CVE-2018-15142 in the critical feed json
Directory traversal in portal/import_template.php in versions of OpenEMR before 5.0.1.4 allows a remote attacker authenticated in the patie…
published 2018-08-13 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-7022
- cvss
- 8.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 18.0%
- EPSS 18.0% chance of exploitation in 30 days, percentile 97%
- public exploits
- 1
- Exploit-DB
Summary
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.
Patch / fix
Timeline
- Published
- First public exploit (EDB-45202)
Exploit prediction
17.99% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- EDB-45202 OpenEMR 5.0.1.3 - (Authenticated) Arbitrary File Actions webapps, 2018-08-16
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/openemr/openemr/pull/1765/files
patch, third-party-advisory
-
exploit-db.com
/exploits/45202/
exploit, third-party-advisory, vdb-entry
-
databreaches.net
/openemr-patches-serious-vulnerabilities-uncovered-by-project-insecurity/
third-party-advisory
Sources
- CVE List CVE-2018-15142
- NVD CVE-2018-15142
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.