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.
Metrics
CVSS 3.0 8.8/10
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://github.com/openemr/openemr/pull/1765/filesPatch, 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
- https://github.com/openemr/openemr/pull/1765/filesPatch, 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
Timeline
- Published
- Aug 13, 2018
- Last modified
- Jun 17, 2026
- NVD status
- Modified