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.
References
Link | Resource |
---|---|
https://www.databreaches.net/openemr-patches-serious-vulnerabilities-uncovered-by-project-insecurity/ | Third Party Advisory |
https://github.com/openemr/openemr/pull/1765/files | Patch Third Party Advisory |
https://www.exploit-db.com/exploits/45202/ | Exploit Third Party Advisory VDB Entry |
Configurations
Information
Published : 2018-08-13 11:29
Updated : 2018-10-10 11:21
NVD link : CVE-2018-15142
Mitre link : CVE-2018-15142
JSON object : View
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Products Affected
open-emr
- openemr