vendor:
OpenEMR
by:
Joshua Fam
6.5
CVSS
MEDIUM
Arbitrary File Read/Write
434
CWE
Product Name: OpenEMR
Affected Version From: < 5.0.1.3
Affected Version To: < 5.0.1.3
Patch Exists: YES
Related CWE: CVE-2018-15142,CVE-2018-15141,CVE-2018-15140
CPE: 2.3:a:openemr:openemr:5.0.1.3
Metasploit:
N/A
Other Scripts:
N/A
Platforms Tested: Ubuntu LAMP
2018
OpenEMR 5.0.1.3 – Arbitrary File Actions
In OpenEmr a user that has access to the portal can send a malicious POST request to read/write arbitrary files. Vulnerable code and proof of concept is provided in the text.
Mitigation:
Ensure that user input is properly validated and sanitized before being used in file operations.