phpDocumentor <= 1.3.0 RC4 Local And Remote File Inclusion

high Nessus Plugin ID 20374

Synopsis

The remote web server contains a PHP script that is prone to file inclusion flaws.

Description

phpDocumentor is a automatic documentation generator for PHP.

The remote host appears to be running the web-interface of phpDocumentor.

This version does not properly sanitize user input in the 'file_dialog.php' file and a test file called 'bug-559668.php' It is possible for an attacker to include remote files and execute arbitrary commands on the remote system, and display the content of sensitive files.

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

Solution

Disable PHP's 'register_globals' setting.

See Also

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

https://marc.info/?l=bugtraq&m=113587730223824&w=2

Plugin Details

Severity: High

ID: 20374

File Name: phpdocumentor_1_3_remote_file_inclusion.nasl

Version: 1.22

Type: remote

Family: CGI abuses

Published: 1/2/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: 5.9

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

Vulnerability Information

CPE: cpe:/a:joshua_eichorn:phpdocumentor

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Vulnerability Publication Date: 12/29/2005

Reference Information

CVE: CVE-2005-4593

BID: 16080