FlatNuke index.php id Parameter Traversal Arbitrary File Access

medium Nessus Plugin ID 20293

Synopsis

The remote web server contains a PHP application that is affected by a directory traversal vulnerability.

Description

The remote host is running FlatNuke, a content management system written in PHP and using flat files rather than a database for its storage.

The version of FlatNuke installed on the remote host suffers fails to remove directory traversal sequences user input to the 'id' parameter of the 'index.php' script. Provided PHP's 'magic_quotes_gpc' setting is enabled, an attacker can leverage this flaw to read arbitrary files on the remote host subject to the privileges of the web server user id.

Solution

Enable PHP's 'magic_quotes_gpc' setting.

See Also

https://seclists.org/bugtraq/2005/Dec/107

Plugin Details

Severity: Medium

ID: 20293

File Name: flatnuke_id_dir_traversal.nasl

Version: 1.26

Type: remote

Family: CGI abuses

Published: 12/12/2005

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.2

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 5

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

Vulnerability Information

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: No exploit is required

Vulnerability Publication Date: 8/30/2005

Reference Information

CVE: CVE-2005-2813, CVE-2005-4208

BID: 14702, 15796