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

low Nessus Plugin ID 18083

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.

Solution

Upgrade to Coppermine Photo Gallery version 1.3.3 or later.

See Also

http://www.securityfocus.com/archive/1/396080

http://forum.coppermine-gallery.net/index.php?topic=17134

Plugin Details

Severity: Low

ID: 18083

File Name: coppermine_gallery_x_forwarded_for.nasl

Version: 1.20

Type: remote

Published: 4/18/2005

Updated: 6/1/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.0

CVSS v2

Risk Factor: Low

Base Score: 3.5

Temporal Score: 3

Vector: CVSS2#AV:N/AC:M/Au:S/C:N/I:P/A:N

Vulnerability Information

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Vulnerability Publication Date: 4/18/2005

Reference Information

CVE: CVE-2005-1172

BID: 13218

CWE: 20, 442, 629, 711, 712, 722, 725, 74, 750, 751, 79, 800, 801, 809, 811, 864, 900, 928, 931, 990