Sun GlassFish 2.1 - 'name' Cross-Site Scripting

EDB-ID:

31901




Platform:

Multiple

Date:

2008-06-10


source: https://www.securityfocus.com/bid/29646/info

Sun Glassfish is prone to a cross-site scripting vulnerability because the application fails to sufficiently 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 let the attacker steal cookie-based authentication credentials and launch other attacks. 

http://www.example.com/configuration/httpListenerEdit.jsf?name=<IMG SRC=javascript:alert(&#039;DSecRG_XSS&#039;)>&configName=server-config