MantisBT search.php match_type Parameter XSS

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


Synopsis :

The remote web server hosts a PHP script that is affected by a cross-
site scripting vulnerability.

Description :

The version of MantisBT installed on the remote host fails to properly
sanitize user-supplied input to the 'match_type' parameter of the
'search.php' script before using it to generate dynamic HTML output. An
attacker may be able to leverage this to inject arbitrary HTML and
script code into a user's browser to be executed within the security
context of the affected site.

Note that the install is also likely to be affected by additional
cross-site scripting vulnerabilities as well as an unauthorized status
update flaw, although Nessus has not tested for these additional
issues.

See also :

http://www.nessus.org/u?26660ed2
http://www.mantisbt.org/bugs/view.php?id=15373

Solution :

Upgrade to version 1.2.13 or later or apply the patch from the
referenced URL.

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: 64490 ()

Bugtraq ID: 57456

CVE ID: CVE-2013-0197