MODx < 2.0.3-pl class_key Parameter Local File Inclusion

medium Nessus Plugin ID 56564

Synopsis

The remote web server contains a PHP script that is affected by a local file inclusion vulnerability.

Description

The version of MODx installed on the remote host fails to sanitize user-supplied input to the 'class_key' parameter of the 'manager/controllers/default/resource/tvs.php' script before using it to include PHP code.

Using a specially crafted request, a remote, unauthenticated attacker may be able to leverage this vulnerability to read arbitrary files or execute arbitrary PHP code from the affected host, subject to the privileges under which the web server operates.

Solution

Upgrade to MODx to 2.0.3 or greater.

See Also

http://www.nessus.org/u?0493e3ff

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

Plugin Details

Severity: Medium

ID: 56564

File Name: modx_202_lfi.nasl

Version: 1.13

Type: remote

Family: CGI abuses

Published: 10/20/2011

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 6.5

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

Vulnerability Information

CPE: cpe:/a:modxcms:modxcms

Required KB Items: www/PHP, www/modx

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: Exploits are available

Exploited by Nessus: true

Patch Publication Date: 9/30/2010

Vulnerability Publication Date: 9/28/2010

Exploitable With

Elliot (MODx Revolution 2.0.2-pl LFI)

Reference Information

CVE: CVE-2010-5278

BID: 43577