phpWebSite index.php hub_dir Parameter Local File Inclusion

high Nessus Plugin ID 21228

Synopsis

The remote web server contains a PHP script that is affected by a local file include issue.

Description

The version of phpWebSite installed on the remote host fails to sanitize input to the 'hub_dir' parameter of the 'index.php' script before using it in a PHP 'include()' function. Provided PHP's 'register_globals' setting is enabled, an unauthenticated attacker may be able to exploit this issue to view arbitrary files on the remote host or to execute arbitrary PHP code, subject to the privileges of the web server user id.

Solution

Unknown at this time.

See Also

http://www.nessus.org/u?a081ffd2

Plugin Details

Severity: High

ID: 21228

File Name: phpwebsite_hub_dir_file_include.nasl

Version: 1.22

Type: remote

Family: CGI abuses

Published: 4/16/2006

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.6

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

Vulnerability Information

CPE: cpe:/a:phpwebsite:phpwebsite

Required KB Items: www/phpwebsite

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Exploited by Nessus: true

Vulnerability Publication Date: 4/17/2006

Reference Information

CVE: CVE-2006-1819

BID: 17521