Softbiz Image Gallery - image_desc.php latest Parameter Cross-Site Scripting

Gerardo Vazquez, Eduardo Arriols 05.08.2008 Verified
Web Application Exploits PHP

Exploit Code

source: http://www.securityfocus.com/bid/30546/info
   
Softbiz Photo Gallery is prone to multiple cross-site scripting vulnerabilities because it fails to sufficiently sanitize user-supplied data.
   
An attacker may leverage these issues 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.
   
http://www.example.com/image_desc.php?latest=[XSS]
http://www.example.com/image_desc.php?msg=[XSS]