Aardvark Topsites CONFIG[path] Parameter Remote File Inclusion

medium Nessus Plugin ID 21329

Synopsis

The remote system contains a PHP application that is prone to remote file inclusion attacks.

Description

Aardvark Topsites PHP is installed on the remote host. It is an open source toplist management system written in PHP.

The application does not sanitize user-supplied input to the 'CONFIG[path]' variable in some PHP files, for example, 'lostpw.php' This allows an attacker to include arbitrary files, possibly taken from remote systems, and to execute them with privileges under which the web server operates.

The flaw is exploitable if PHP's 'register_globals' setting is enabled.

Solution

Either disable PHP's 'register_globals' or upgrade to Aardvark Topsites PHP version 5.0.2 or later.

See Also

http://www.aardvarktopsitesphp.com/forums/viewtopic.php?t=4301

Plugin Details

Severity: Medium

ID: 21329

File Name: aardvark_422_remote_file_include.nasl

Version: 1.21

Type: remote

Family: CGI abuses

Published: 5/8/2006

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.8

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 5.3

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

Vulnerability Information

CPE: cpe:/a:avatic:aardvark_topsites_php

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 4/30/2006

Reference Information

CVE: CVE-2006-2149

BID: 17940

SECUNIA: 19911