Monster Top List sources/functions.php root_path Parameter Remote File Inclusion

high Nessus Plugin ID 21309

Synopsis

The remote web server contains a PHP application that is affected by a remote file include vulnerability.

Description

The remote host is running Monster Top List, a site rating script written in PHP.

The installed version of Monster Top List fails to sanitize user input to the 'root_path' parameter in sources/functions.php before using it to include PHP code from other files. An unauthenticated attacker may be able to read arbitrary local files or include a file from a remote host that contains commands which will be executed on the remote host subject to the privileges of the web server process.

This flaw is only exploitable if PHP's 'register_globals' is enabled.

Solution

Unknown at this time.

See Also

http://pridels.blogspot.com/2006/04/monstertoplist.html

Plugin Details

Severity: High

ID: 21309

File Name: mtl_remote_file_include.nasl

Version: 1.19

Type: remote

Family: CGI abuses

Published: 5/3/2006

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.3

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.8

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 Available: true

Exploit Ease: Exploits are available

Exploited by Nessus: true

Vulnerability Publication Date: 4/12/2006

Reference Information

CVE: CVE-2006-1781

BID: 17546