OpenX fc.php MAX_type Parameter Traversal Local File Inclusion

high Nessus Plugin ID 35557

Synopsis

The remote web server contains a PHP script that is susceptible to a local file include attack.

Description

The remote host is running OpenX (formerly Openads), an open source ad serving application written in PHP.

The installed version of OpenX does not validate user-supplied input to the 'MAX_type' parameter of the 'www/delivery/fc.php' script before using it in a PHP 'include()' function. Regardless of PHP's 'register_globals' setting, an unauthenticated attacker can exploit this issue to view arbitrary files or possibly to execute arbitrary PHP code on the remote host, subject to the privileges of the web server user id.

Solution

Upgrade to OpenX version 2.6.4 / 2.4.10 or later.

See Also

https://secuniaresearch.flexerasoftware.com/secunia_research/2009-4/

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

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

https://developer.openx.org/jira/browse/OX-4817

http://www.openx.org/docs/2.6/release-notes/openx-2.6.4

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

Plugin Details

Severity: High

ID: 35557

File Name: openx_max_type_lfi.nasl

Version: 1.22

Type: remote

Family: CGI abuses

Published: 1/30/2009

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.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:openx:openx

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Exploited by Nessus: true

Exploitable With

Elliot (OpenX 2.6.3 LFI)

Reference Information

CVE: CVE-2009-0291

BID: 33458

CWE: 22

SECUNIA: 32197