Files
CVEs-PoC/2018/CVE-2018-15142.md
T
2024-06-18 02:51:15 +02:00

20 lines
917 B
Markdown

### [CVE-2018-15142](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-15142)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### 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.
### POC
#### Reference
- https://www.databreaches.net/openemr-patches-serious-vulnerabilities-uncovered-by-project-insecurity/
- https://www.exploit-db.com/exploits/45202/
#### Github
- https://github.com/ARPSyndicate/cvemon
- https://github.com/noraj/OpenEMR-RCE