Gallery includedir Parameter Remote File Inclusion

high Nessus Plugin ID 11115

Synopsis

The remote web server contains a PHP script that is prone to a remote file inclusion vulnerability.

Description

The version of Gallery installed on the remote host is affected by a remote file inclusion vulnerability due to the application failing to properly sanitize user-supplied input to the 'includedir' parameter. An attacker may use this flaw to inject arbitrary code in the remote host and gain a shell with the privileges of the web server user.

Solution

Upgrade to Gallery 1.2.1 or later.

See Also

https://seclists.org/bugtraq/2001/Oct/12

Plugin Details

Severity: High

ID: 11115

File Name: gallery_injection.nasl

Version: 1.34

Type: remote

Family: CGI abuses

Published: 8/29/2002

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.2

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

CVSS Score Source: CVE-2001-1234

CVSS v3

Risk Factor: High

Base Score: 8.3

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:X

Vulnerability Information

CPE: cpe:/a:gallery_project:gallery

Required KB Items: www/PHP, www/gallery

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: No exploit is required

Vulnerability Publication Date: 10/2/2001

Reference Information

CVE: CVE-2001-1234

BID: 3397