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