CAcert 'analyse.php' Cross Site Scripting Vulnerability
BID:31481
Info
CAcert 'analyse.php' Cross Site Scripting Vulnerability
| Bugtraq ID: | 31481 |
| Class: | Input Validation Error |
| CVE: |
CVE-2008-7017 |
| Remote: | Yes |
| Local: | No |
| Published: | Sep 29 2008 12:00AM |
| Updated: | May 07 2015 05:23PM |
| Credit: | Alexander Klink |
| Vulnerable: |
CAcert CAcert 0 |
| Not Vulnerable: | |
Discussion
CAcert 'analyse.php' Cross Site Scripting Vulnerability
CAcert 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 to launch other attacks.
This issue affects versions of the CAcert source code released on or before September 21, 2008.
CAcert 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 to launch other attacks.
This issue affects versions of the CAcert source code released on or before September 21, 2008.
Exploit / POC
CAcert 'analyse.php' Cross Site Scripting Vulnerability
To exploit this issue an attacker entices an unsuspecting user into following a malicious URI.
The following example is available:
openssl req -new -x509 -subj "/CN=<\/pre><script>alert(document.cookies)<\/script><pre>"
To exploit this issue an attacker entices an unsuspecting user into following a malicious URI.
The following example is available:
openssl req -new -x509 -subj "/CN=<\/pre><script>alert(document.cookies)<\/script><pre>"
Solution / Fix
CAcert 'analyse.php' Cross Site Scripting Vulnerability
Solution:
The vendor has fixed this issue in the source code released on September 28, 2008.
Solution:
The vendor has fixed this issue in the source code released on September 28, 2008.
References
CAcert 'analyse.php' Cross Site Scripting Vulnerability
References:
References:
- CAcert Homepage (CAcert)
- CAcert News Blog (CAcert)