MODx SearchHighlight plugin XSS

medium Nessus Plugin ID 46183

Synopsis

The remote web server hosts a web application that is vulnerable to a cross-site scripting attack.

Description

The version of MODx hosted on the remote web server fails to properly sanitize user-supplied input to the 'highlight' parameter of the 'SearchHighlight' plugin.

An attacker, exploiting this flaw, could inject arbitrary HTML and script code in a user's browser to be executed within the security context of the affected site.

Note that the installed version of MODx is also potentially affected by a SQL injection vulnerability, though Nessus has not tested for this.

Solution

Upgrade to MODx 1.0.3 or later.

See Also

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

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

Plugin Details

Severity: Medium

ID: 46183

File Name: modx_searchhighlight_xss.nasl

Version: 1.14

Type: remote

Published: 4/29/2010

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.0

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.7

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

Vulnerability Information

CPE: cpe:/a:modxcms:modxcms

Required KB Items: www/modx

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Patch Publication Date: 4/1/2010

Vulnerability Publication Date: 4/1/2010

Reference Information

CVE: CVE-2010-1427

BID: 39310

CWE: 20, 442, 629, 711, 712, 722, 725, 74, 750, 751, 79, 800, 801, 809, 811, 864, 900, 928, 931, 990

SECUNIA: 39298