Gallery login.php username Parameter XSS

This script is Copyright (C) 2005-2014 Tenable Network Security, Inc.


Synopsis :

The remote web server is running a PHP application that is affected by
a cross-site scripting vulnerability.

Description :

The version of Gallery hosted on the remote web server is affected by a
cross-site scripting vulnerability because it fails to properly sanitize
user-supplied input to the 'username' parameter of the 'login.php'
script. An attacker could exploit this flaw to inject arbitrary HTML
and script code into a user's browser to be executed within the security
context of the affected site.

Note that the application is reportedly affected by multiple additional
cross-site scripting vulnerabilities as well as an information
disclosure vulnerability, although Nessus has not tested for these.

See also :

http://archives.neohapsis.com/archives/bugtraq/2005-01/0204.html
http://galleryproject.org/node/147

Solution :

Upgrade to Gallery 1.4.4-pl5 or later.

Risk factor :

Medium / CVSS Base Score : 4.3
(CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N)
CVSS Temporal Score : 3.7
(CVSS2#E:H/RL:OF/RC:C)
Public Exploit Available : true

Family: CGI abuses : XSS

Nessus Plugin ID: 16185 (gallery_multiple_issues.nasl)

Bugtraq ID: 12292
12286

CVE ID: CVE-2005-0220