Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Open-Emr | Openemr | < 5.0.1.4 |
Related Weaknesses (CWE)
References
- https://github.com/openemr/openemr/pull/1765/filesPatchThird Party Advisory
- https://www.databreaches.net/openemr-patches-serious-vulnerabilities-uncovered-bThird Party Advisory
- https://www.exploit-db.com/exploits/45202/ExploitThird Party AdvisoryVDB Entry
- https://github.com/openemr/openemr/pull/1765/filesPatchThird Party Advisory
- https://www.databreaches.net/openemr-patches-serious-vulnerabilities-uncovered-bThird Party Advisory
- https://www.exploit-db.com/exploits/45202/ExploitThird Party AdvisoryVDB Entry
FAQ
What is CVE-2018-15142?
CVE-2018-15142 is a vulnerability with a CVSS score of 8.8 (HIGH). 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 wit...
How severe is CVE-2018-15142?
CVE-2018-15142 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2018-15142?
Check the references section above for vendor advisories and patch information. Affected products include: Open-Emr Openemr.