Out-of-bounds read in OpenEMR - #VU14289

 

Out-of-bounds read in OpenEMR - #VU14289

Published: August 8, 2018


Vulnerability identifier: #VU14289
CSH Severity: Low
CVSS v4: 5.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote authenticated attacker to obtain potentially sensitive information on the target system.

The vulnerability exists in import_template.php due to lack of sanitization before the user input from ​docid​ is passed to the file_get_contents() function. A remote attacker can make a crafted request to view files on the system outside the web directory, including /etc/passwd.


Affected software

OpenEMR

Remediation

Update to version 5.0.1.4.

OpenEMR - update to 5.0.1.4

External References

Related Security Bulletins