Improper input validation in OpenEMR - #VU14290

 

Improper input validation in OpenEMR - #VU14290

Published: August 8, 2018


Vulnerability identifier: #VU14290
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/U:Clear
CVE-ID: N/A
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: OpenEMR
Affected software:
OpenEMR

Detailed vulnerability description

The vulnerability allows a remote authenticated attacker to delete arbitrary files on the target system.

The vulnerability exists in import_template.php due to lack of sanitization of user input from the ​docid​ parameter before being passed to the unlink() function. A remote authenticated attacker can delete arbitrary files on the system.


Remediation

Update to version 5.0.1.4.

Sources