CVE-2018-15142

CVE-2018-15142 is a high-severity vulnerability in Open-emr Openemr with a CVSS 3.x base score of 8.8. Its EPSS exploit-prediction score of 18% places it in the 97th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-22.

Key facts

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 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.

Frequently asked questions

What is CVE-2018-15142?
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.
How severe is CVE-2018-15142?
CVE-2018-15142 has a CVSS 3.x base score of 8.8, rated high severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
Is CVE-2018-15142 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 18% (97th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2018-15142?
CVE-2018-15142 affects Open-emr Openemr. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2018-15142?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
When was CVE-2018-15142 published?
CVE-2018-15142 was published on 2018-08-13 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Open-emr Openemr

All CVEs affecting Open-emr Openemr →

Other CWE-22 (Path Traversal) vulnerabilities

Browse all CWE-22 (Path Traversal) vulnerabilities →