MODx CMS base_path Parameter Remote File Inclusion

medium Nessus Plugin ID 23641

Synopsis

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

Description

The remote web server is running MODx CMS, an open source content management system.

The version of MODx CMS installed on the remote host fails to sanitize input to the 'base_path' parameter before using it in the 'manager/media/browser/mcpuk/connectors/php/Commands/Thumbnail.php' script to include PHP code. Provided PHP's 'register_globals' setting is enabled, an unauthenticated attacker can exploit this issue to view arbitrary files and execute arbitrary code, possibly taken from third-party hosts, on the remote host.

Solution

Update to version 0.9.2.2 or later.

See Also

https://forums.modx.com/index.php/topic,8604.0.html

Plugin Details

Severity: Medium

ID: 23641

File Name: modx_0921_rfi.nasl

Version: 1.20

Type: remote

Family: CGI abuses

Published: 11/14/2006

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.5

CVSS v2

Risk Factor: Medium

Base Score: 5.1

Temporal Score: 4.2

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

Vulnerability Information

CPE: cpe:/a:modxcms:modxcms

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 11/3/2006

Reference Information

CVE: CVE-2006-5730

BID: 20898