RMSOFT Gallery System 2.0 Images.PHP Cross-Site Scripting Vulnerability. CVE-2006-5532. Webapps exploit for php platform
source: http://www.securityfocus.com/bid/20676/info
RMSOFT Gallery System 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 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.
RMSOFT Gallery System version 2.0 is vulnerable; earlier versions may also be affected.
http://www.example.com/modules/rmgs/images.php?kw=<script>alert(document.cookie)</script>&q=search