Path Traversal in Open-Emr Openemr

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.

Vulnerability class: Path Traversal (Directory Traversal)

EPSS: 0.182 (96.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

  • cve@mitre.org (Third Party Advisory, x_refsource_MISC)
  • cve@mitre.org (Exploit, VDB Entry, Third Party Advisory, exploit, x_refsource_EXPLOIT-DB)
  • cve@mitre.org (x_refsource_CONFIRM, Patch, Third Party Advisory)

Frequently asked questions

What is CVE-2018-15142?
CVE-2018-15142 is a high-severity vulnerability in Open-Emr Openemr, classified under Path Traversal. CVSS score: 8.8/10. Published 2018-08-13.
How severe is CVE-2018-15142?
High severity. CVSS v3 base score is 8.8 out of 10.
Is CVE-2018-15142 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.