PPA functions.inc.php config[ppa_root_path] Parameter Remote File Inclusion

high Nessus Plugin ID 18672

Synopsis

The remote web server contains a PHP script that is prone to a remote file include attack.

Description

The remote host is running PPA, a free, PHP-based photo gallery.

The installed version of PPA allows remote attackers to control the 'config[ppa_root_path]' variable used when including PHP code in the 'inc/functions.inc.php' script. By leveraging this flaw, an attacker may be able to view arbitrary files on the remote host and execute arbitrary PHP code, possibly taken from third-party hosts.

Solution

Ensure that PHP's 'magic_quotes_gpc' setting is enabled and that 'allow_url_fopen' is disabled.

See Also

http://securitytracker.com/alerts/2005/Jul/1014436.html

Plugin Details

Severity: High

ID: 18672

File Name: ppa_ppa_root_path_file_includes.nasl

Version: 1.15

Type: remote

Family: CGI abuses

Published: 7/11/2005

Updated: 1/19/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.3

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

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Vulnerability Publication Date: 7/12/2005

Reference Information

CVE: CVE-2005-2199

BID: 14209