EJBCA 'issuer' Parameter Cross Site Scripting Vulnerability
BID:52400
Info
EJBCA 'issuer' Parameter Cross Site Scripting Vulnerability
| Bugtraq ID: | 52400 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Mar 11 2012 12:00AM |
| Updated: | Mar 11 2012 12:00AM |
| Credit: | MustLive |
| Vulnerable: |
PrimeKey Solutions EJBCA 4.0.7 |
| Not Vulnerable: |
PrimeKey Solutions EJBCA 4.0.8 |
Discussion
EJBCA 'issuer' Parameter Cross Site Scripting Vulnerability
EJBCA is prone to a cross-site scripting vulnerability because it fails to sufficiently sanitize user-supplied data.
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 allow the attacker to steal cookie-based authentication credentials and launch other attacks.
EJBCA 4.0.7 is vulnerable; other versions may also be affected.
EJBCA is prone to a cross-site scripting vulnerability because it fails to sufficiently sanitize user-supplied data.
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 allow the attacker to steal cookie-based authentication credentials and launch other attacks.
EJBCA 4.0.7 is vulnerable; other versions may also be affected.
Exploit / POC
EJBCA 'issuer' Parameter Cross Site Scripting Vulnerability
To exploit this issue, an attacker must entice an unsuspecting user to follow a malicious URI.
The following example URL is available:
http://www.example.com/ejbca/publicweb/webdist/certdist?cmd=revoked&issuer=%3Cscript%3Ealert(document.cookie)%3C/script%3E&serno=1
To exploit this issue, an attacker must entice an unsuspecting user to follow a malicious URI.
The following example URL is available:
http://www.example.com/ejbca/publicweb/webdist/certdist?cmd=revoked&issuer=%3Cscript%3Ealert(document.cookie)%3C/script%3E&serno=1