MantisBT: master f5ac454e

Author Committer Branch Timestamp Parent
dhx dhx master 2013-01-18 05:43 master 8414dc7a
Affected Issues  0015373: CVE-2013-0197 XSS vulnerability with match_type filter
Changeset

Fix 0015373: match_type XSS vulnerability

Jakub Galczyk discovered[1] a cross site scripting (XSS)
vulnerability in MantisBT 1.2.12 and earlier versions that allows a
malicious person to trick the browser of a target user into executing
arbitrary JavaScript via the URL: search.php?match_type="><script...

This vulnerability is particularly wide reaching due to search.php being
usable by anonymous users on public facing installations of MantisBT (no
user account required).

The value of the "match_type" filter parameter is now correctly
sanitised prior to use in the HTML output displaying the current filter
settings.

[1] http://hauntit.blogspot.de/2013/01/en-mantis-bug-tracker-1212-persistent.html

mod - core/filter_api.php Diff File