phpWebFTP index.php language Parameter Local File Inclusion

medium Nessus Plugin ID 21238

Synopsis

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

Description

The remote host is running phpWebFTP, a web-based FTP client written in PHP.

The version of phpWebFTP installed on the remote host fails to sanitize user-supplied input to the 'language' parameter of the 'index.php' script before using it in a PHP 'include()' function. An unauthenticated attacker may be able to exploit this issue to view arbitrary files or to execute arbitrary PHP code on the remote host, subject to the privileges of the web server user id.

Note that successful exploitation of this issue requires that either PHP's 'magic_quotes_gpc' setting be disabled or the attacker have the ability to edit files on the remote host.

Solution

Unknown at this time.

See Also

https://www.securityfocus.com/archive/1/431115/30/0/threaded

Plugin Details

Severity: Medium

ID: 21238

File Name: phpwebftp_language_file_include.nasl

Version: 1.25

Type: remote

Family: CGI abuses

Published: 4/17/2006

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.0

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

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

Vulnerability Information

CPE: cpe:/a:phpwebftp:phpwebftp

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Exploited by Nessus: true

Vulnerability Publication Date: 4/16/2006

Reference Information

CVE: CVE-2006-1813

BID: 17557