OpenEMR 'site' Parameter Cross Site Scripting Vulnerability
BID:58085
Info
OpenEMR 'site' Parameter Cross Site Scripting Vulnerability
| Bugtraq ID: | 58085 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Feb 21 2013 12:00AM |
| Updated: | Feb 21 2013 12:00AM |
| Credit: | Gjoko Krstic |
| Vulnerable: | |
| Not Vulnerable: | |
Discussion
OpenEMR 'site' Parameter Cross Site Scripting Vulnerability
OpenEMR is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input.
An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may help the attacker steal cookie-based authentication credentials and launch other attacks.
OpenEMR 4.1.1 is vulnerable; other versions may also be affected.
OpenEMR is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input.
An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may help the attacker steal cookie-based authentication credentials and launch other attacks.
OpenEMR 4.1.1 is vulnerable; other versions may also be affected.
Exploit / POC
OpenEMR 'site' Parameter Cross Site Scripting Vulnerability
An attacker can exploit this issue by enticing an unsuspecting user to follow a malicious URI.
The following example URI is available:
http://www.example.com/openemr/[DIR]/[SCRIPT]?site="><script>alert(1);</script>
An attacker can exploit this issue by enticing an unsuspecting user to follow a malicious URI.
The following example URI is available:
http://www.example.com/openemr/[DIR]/[SCRIPT]?site="><script>alert(1);</script>
Solution / Fix
OpenEMR 'site' Parameter Cross Site Scripting Vulnerability
Solution:
Updates are available. Please see the references or vendor advisory for more information.
Solution:
Updates are available. Please see the references or vendor advisory for more information.