ThinkPHP 'index.php' Cross Site Scripting Vulnerability
BID:39909
Info
ThinkPHP 'index.php' Cross Site Scripting Vulnerability
| Bugtraq ID: | 39909 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Feb 09 2010 12:00AM |
| Updated: | Feb 09 2010 12:00AM |
| Credit: | zx |
| Vulnerable: |
ThinkPHP ThinkPHP 2.0 |
| Not Vulnerable: | |
Discussion
ThinkPHP 'index.php' Cross Site Scripting Vulnerability
ThinkPHP 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 let the attacker steal cookie-based authentication credentials and launch other attacks.
ThinkPHP 2.0 is vulnerable; prior versions may also be affected.
ThinkPHP 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 let the attacker steal cookie-based authentication credentials and launch other attacks.
ThinkPHP 2.0 is vulnerable; prior versions may also be affected.
Exploit / POC
ThinkPHP 'index.php' Cross Site Scripting Vulnerability
Attackers can exploit this issue by enticing an unsuspecting victim to follow a malicious URI.
The following example URI is available:
http://www.example.com/index.php?s=1%3Cbody+onload=alert(1)%3E
Attackers can exploit this issue by enticing an unsuspecting victim to follow a malicious URI.
The following example URI is available:
http://www.example.com/index.php?s=1%3Cbody+onload=alert(1)%3E
Solution / Fix
ThinkPHP 'index.php' Cross Site Scripting Vulnerability
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].