MODx 'ucfg' Parameter Arbitrary File Access

medium Nessus Plugin ID 51974

Synopsis

It may be possible to download arbitrary files from the remote system.

Description

The installed version of MODx allows access to arbitrary files because it fails to perform sufficient validation on 'ucfg' parameter in 'assets/snippets/ajaxSearch/ajaxSearchPopup.php'.

By supplying directory traversal strings such as '..%2F' in a specially crafted AjaxSearch 'POST' request, it is possible for a remote, unauthenticated attacker to read arbitrary files from the remote system, subject to the privileges under which the web server operates.

Although Nessus has not checked for them, the installed version is also likely to be affected by several other vulnerabilities, including cross-site scripting and SQL injection.

Solution

Upgrade to MODx 1.0.5 or later.

See Also

http://jvn.jp/en/jp/JVN95385972/index.html

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

Plugin Details

Severity: Medium

ID: 51974

File Name: modx_ucfg_arbitrary_file_access.nasl

Version: 1.12

Type: remote

Family: CGI abuses

Published: 2/14/2011

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.4

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 4.1

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

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: 1/19/2011

Vulnerability Publication Date: 1/26/2011

Reference Information

CVE: CVE-2010-3930

BID: 46163