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

EDB-ID:

28161


Author:

iss4m

Type:

webapps


Platform:

PHP

Date:

2006-07-04


source: https://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