Coppermine Photo Gallery init.inc.php X-Forwarded-For XSS

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


Synopsis :

The remote web server contains a PHP application that is vulnerable to
a cross-site scripting attack.

Description :

According to its version number, the version of Coppermine Photo
Gallery installed on the remote host is affected by a cross-site
scripting vulnerability when logging user comments. A user with
access to the comments module can exploit this flaw using a
specially crafted 'X-Forwarded-For' header to steal an admin's cookie
when he views the application logs or to launch other types of cross-
site scripting attacks against the affected application.

See also :

http://www.securityfocus.com/archive/1/396080
http://coppermine-gallery.net/forum/index.php?topic=17134

Solution :

Upgrade to Coppermine Photo Gallery version 1.3.3 or later.

Risk factor :

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

Family: CGI abuses : XSS

Nessus Plugin ID: 18083 (coppermine_gallery_x_forwarded_for.nasl)

Bugtraq ID: 13218

CVE ID: CVE-2005-1172