PHPWebGallery 1.x - 'comments.php' Cross-Site Scripting

Related Vulnerabilities: CVE-2006-3476  
Publish Date: 04 Jul 2006
Author: iss4m
                							

                source: http://www.securityfocus.com/bid/18798/info

PhpWebGallery is prone to a cross-site scripting vulnerability because it fails to sanitize input before displaying it to users of the application.

An attacker may leverage this issue to have arbitrary script code execute 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.

http://www.example.com/phpwebgallery/comments.php?keyword=%22%3E[XSS]

http://www.example.com/phpwebgallery/comments.php?keyword=%22%3E%3Cscript%3Ealert('Hi+Master');%3C/script%3E