Singapore 0.10.1 Modern Template - 'gallery' Cross-Site Scripting

EDB-ID:

31044


Author:

trew

Type:

webapps


Platform:

PHP

Date:

2008-01-21


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

singapore Modern template is prone to a cross-site scripting vulnerability because the application 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 help the attacker steal cookie-based authentication credentials and launch other attacks.

Modern 1.3.2 and prior versions are reported vulnerable. Reports indicate that Modern 1.3.2 ships with singapore 0.10.1 by default. 

http://www.example.com/[singapore_path]/default.php?gallery="><script>alert(document.cookie);</script>