OpenEMR Local File Include and Cross Site Scripting Vulnerabilities
BID:47140
Info
OpenEMR Local File Include and Cross Site Scripting Vulnerabilities
| Bugtraq ID: | 47140 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Apr 02 2011 12:00AM |
| Updated: | Mar 19 2015 09:44AM |
| Credit: | John Leitch |
| Vulnerable: |
OpenEMR OpenEMR 4.0 |
| Not Vulnerable: | |
Discussion
OpenEMR Local File Include and Cross Site Scripting Vulnerabilities
OpenEMR is prone to a local file-include vulnerability and multiple cross-site scripting vulnerabilities because it fails to properly sanitize user-supplied input.
An attacker can exploit the local file-include vulnerability using directory-traversal strings to view and execute local files within the context of the affected application. Information harvested may aid in further attacks.
The attacker may leverage the cross-site scripting issues to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may let the attacker steal cookie-based authentication credentials and launch other attacks.
OpenEMR 4.0.0 is vulnerable; other versions may also be affected.
OpenEMR is prone to a local file-include vulnerability and multiple cross-site scripting vulnerabilities because it fails to properly sanitize user-supplied input.
An attacker can exploit the local file-include vulnerability using directory-traversal strings to view and execute local files within the context of the affected application. Information harvested may aid in further attacks.
The attacker may leverage the cross-site scripting issues to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may let the attacker steal cookie-based authentication credentials and launch other attacks.
OpenEMR 4.0.0 is vulnerable; other versions may also be affected.
Exploit / POC
OpenEMR Local File Include and Cross Site Scripting Vulnerabilities
Attackers can exploit these issues via a browser. To exploit a cross-site scripting issue, attackers must entice an unsuspecting user to follow a malicious URI.
The following example URIs are available:
Attackers can exploit these issues via a browser. To exploit a cross-site scripting issue, attackers must entice an unsuspecting user to follow a malicious URI.
The following example URIs are available:
Solution / Fix
OpenEMR Local File Include and Cross Site Scripting Vulnerabilities
Solution:
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
Solution:
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
References
OpenEMR Local File Include and Cross Site Scripting Vulnerabilities
References:
References:
- Product Download Page (OpenEMR)
- Vendor Homepage (OpenEMR)