Vulnerability Assessment & Network Security Forums



If through a vulnerability assessment, a network security issue is detected for the vulnerability below, applying the appropriate security patches in a timely matter is very important.  If you have detected that your system has already been compromised, following CERT's Network Security recovery document will assist with recommended steps for system recovery.


Home >> Browse Vulnerability Assessment Database >> CGI abuses >> Gallery g2_itemId Parameter Directory Traversal Vulnerability


Vulnerability Assessment Details

Gallery g2_itemId Parameter Directory Traversal Vulnerability

Vulnerability Assessment Summary
Checks for g2_itemId parameter Directory Traversal vulnerability in Gallery

Detailed Explanation for this Vulnerability Assessment

Summary :

The remote web server contains a PHP script that is affected by a
directory traversal flaw.

Description :

The version of Gallery installed on the remote host fails to sanitize
user-supplied input to the 'g2_itemId' parameter of the 'main.php'
script before using it to read cached files. If PHP's
'display_errors' setting is enabled, a possible hacker can exploit this flaw
to read arbitrary files on the remote host, subject to the rights
of the web user id. Moreover, if the attacker can upload files to the
affected host, he may be able to execute arbitrary PHP code, again
subject to the rights of the web user id.

See also :

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

Solution :

Upgrade to Gallery 2.0.1 or later.

Network Security Threat Level:

Medium / CVSS Base Score : 4
(AV:R/AC:L/Au:NR/C:P/A:N/I:N/B:C)

Networks Security ID: 15108

Vulnerability Assessment Copyright: This script is Copyright (C) 2005 Tenable Network Security

Cables, Connectors

IBM SYSTEM X3650 M5 2.5 SERVER E5-2603V4 1.7GHZ 6 X 32GB 4 X 600GB 10K 6G
$6359.0
IBM SYSTEM X3650 M5 2.5 SERVER E5-2603V4 1.7GHZ 6 X 32GB 4 X 600GB 10K 6G picture2U IBM X3690 X5 Barebone Server 7147-AC1 2x Heatsinks 4x PSU LGA1567 32DIMMS 4B
$49.99
2U IBM X3690 X5 Barebone Server 7147-AC1 2x Heatsinks 4x PSU LGA1567 32DIMMS 4B pictureIBM HS22 BLADECENTER SERVER E5649 2.53GHZ 8GB 2 X 146GB 15K SAS
$1089.0
IBM HS22 BLADECENTER SERVER E5649 2.53GHZ 8GB 2 X 146GB 15K SAS pictureIBM 4GB PC2-4200F DDR2-533MHz ECC Registered Server Memory Modules (Lot of 4)
$39.99
IBM 4GB PC2-4200F DDR2-533MHz ECC Registered Server Memory Modules (Lot of 4)  picture


Discussions

No Discussions have been posted on this vulnerability.