MODx SearchHighlight plugin XSS

This script is Copyright (C) 2010-2014 Tenable Network Security, Inc.


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.

See also :

http://modxcms.com/forums/index.php/topic,47759.0.html
http://jvn.jp/en/jp/JVN46669729/index.html

Solution :

Upgrade to MODx 1.0.3 or later.

Risk factor :

Medium / CVSS Base Score : 4.3
(CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N)
CVSS Temporal Score : 3.6
(CVSS2#E:F/RL:OF/RC:C)
Public Exploit Available : true

Family: CGI abuses : XSS

Nessus Plugin ID: 46183 ()

Bugtraq ID: 39310

CVE ID: CVE-2010-1427