myphpPageTool /doc/admin/index.php ptinclude Parameter Remote File Inclusion

high Nessus Plugin ID 11310

Synopsis

The remote web server is hosting a PHP application that is affected by a remote file inclusion vulnerability.

Description

The remote web server appears to be hosting myphpPageTool. The installed version fails to properly sanitize user-supplied input to the 'ptinclude' parameter of the '/doc/admin/index.php' script. An attacker may use this flaw to inject arbitrary code in the remote host and gain a shell with the privileges of the web server if the server has 'register_globals' enabled.

Solution

Turn off the 'register_globals' option in PHP.

See Also

https://seclists.org/bugtraq/2003/Feb/5

Plugin Details

Severity: High

ID: 11310

File Name: myphpPageTool_code_injection.nasl

Version: 1.24

Type: remote

Family: CGI abuses

Published: 3/2/2003

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

CVSS v2

Risk Factor: High

Base Score: 7.5

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

CVSS Score Source: CVE-2007-4947

CVSS v3

Risk Factor: High

Base Score: 8.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L

Vulnerability Information

CPE: cpe:/a:myphppagetool:myphppagetool

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Reference Information

CVE: CVE-2007-4947

CWE: 94