Back to CVE records
High 8.8HealthcarePublished Aug 13, 2018

CVE-2018-15142Directory 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 wi…

Updated under an hour ago ()

Does this affect you?

It affects open-emr openemr. Add what you run to find out whether that includes you.

EPSS puts the chance of exploitation in the next 30 days at 18.21%, higher than 97% of scored CVEs. That is high: schedule it on your emergency patch path.

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.

CVSS
8.8 HIGH (v3.0, NVD)CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
Not given
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
18.21% (percentile 97)
Assigned by
mitre
NVD analysis
Modified
Record last updated
Aug 5, 2024
First seen by InfoSec Signals
Oct 12, 2026

Affected products

Affected products
open-emr openemr
open-emr:openemr
before 5.0.1.4
NVD

References

  • x-refsource-misc, third-party-advisory
  • exploit, x-refsource-exploit-db, third-party-advisory, vdb-entry
  • x-refsource-confirm, patch, third-party-advisory

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.