phpBB viewtopic.php highlight Variable XSS

2002-11-18T00:00:00
ID OSVDB:4297
Type osvdb
Reporter Arab VieruZ(arabviersus@hotmail.com)
Modified 2002-11-18T00:00:00

Description

Vulnerability Description

phpBB contains a flaw that allows a remote cross site scripting attack. This flaw exists because the application does not validate the "highlight" variable upon submission to the "viewtopic.php" script. This could allow a user to create a specially crafted URL that would execute arbitrary code in a user's browser within the trust relationship between the browser and the server, leading to a loss of integrity.

Solution Description

Upgrade to version 2.0.7 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

Short Description

phpBB contains a flaw that allows a remote cross site scripting attack. This flaw exists because the application does not validate the "highlight" variable upon submission to the "viewtopic.php" script. This could allow a user to create a specially crafted URL that would execute arbitrary code in a user's browser within the trust relationship between the browser and the server, leading to a loss of integrity.

Manual Testing Notes

http://[victim]/phpBB/viewtopic.php?t=17071&highlight=">"<Script>javascript:alert(document.cookie)</Script>

References:

Mail List Post: http://archives.neohapsis.com/archives/bugtraq/2002-11/0261.html