Plogger plog-admin-functions.php config Parameter Remote File Inclusion

high Nessus Plugin ID 20338

Synopsis

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

Description

The remote host appears to be running Plogger, an open source photo gallery written in PHP.

The version of Plogger installed on the remote host fails to sanitize user-supplied input to the 'config[basedir]' parameter of the 'admin/plog-admin-functions.php' script before using it in a PHP 'require_once' function. Provided PHP's 'register_globals' setting is enabled, an unauthenticated attacker may be able to exploit this flaw to read arbitrary files on the remote host and or run arbitrary code, possibly taken from third-party hosts, subject to the privileges of the web server user id.

Solution

Upgrade to Plogger 2.1 or later.

See Also

http://www.plogger.org/two-point-one/

Plugin Details

Severity: High

ID: 20338

File Name: plogger_config_file_includes.nasl

Version: 1.21

Type: remote

Family: CGI abuses

Published: 12/21/2005

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

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

Vulnerability Information

CPE: cpe:/a:plogger:plogger

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Vulnerability Publication Date: 1/14/2006

Reference Information

CVE: CVE-2005-4573

BID: 15992