8.8high

CVE-2018-15142in critical feed1 exploit

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 8 y ago · modified 4 mo ago · JSON

CVSS
8.8
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
18.0%
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.

Exploit prediction (EPSS)

17.99% probability of exploitation in the next 30 days, higher than 97% of all scored CVEs.

Exploits and detections

  • EDB-45202 OpenEMR 5.0.1.3 - (Authenticated) Arbitrary File Actions · webapps · 2018-08-16

CVSS scores

Assigned byVersionScoreVector
NVD3.08.8CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD2.06.5AV: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

  • databreaches.net /openemr-patches-serious-vulnerabilities-uncovered-by-project-insecurity/ · x_refsource_MISC, x_transferred
  • exploit-db.com /exploits/45202/ · exploit, x_refsource_EXPLOIT-DB, x_transferred
  • github.com /openemr/openemr/pull/1765/files · x_refsource_CONFIRM, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.