Cross-site scripting in OpenEMR - CVE-2011-5160

 

Cross-site scripting in OpenEMR - CVE-2011-5160

Published: September 10, 2012 / Updated: July 20, 2022


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

Detailed vulnerability description

Vulnerability allows a remote attacker to perform XSS attacks.

The vulnerability is caused by an input validation error in setup.php in OpenEMR 4 when processing site parameter. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in victim's browser in security context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.


How to mitigate CVE-2011-5160

Install update from vendor's website.

Sources