Red Hat Bugzilla – Bug 902315
CVE-2013-0197 mantis: Persistent XSS due improper sanitization of the match_type variable
Last modified: 2016-03-04 06:12:26 EST
A persistent cross-site scripting (XSS) flaw was found in the way Mantis, a web-based issue tracking system, performed sanitization of the 'match_type' parameter. A remote attacker could provide a specially-crafted URL that, when processed by Mantis instance, would lead to arbitrary web script or HTML execution.
Upstream bug report:
Relevant patches (against 1.2.2 branch):
This issue affects the versions of the mantis package, as shipped with Fedora release of 16, 17, and 18. Please schedule an update.
This issue did NOT affect the version of the mantis package, as shipped with Fedora EPEL 5.
Created mantis tracking bugs for this issue
Affects: fedora-all [bug 902331]
Updated post from Damien Regad regarding this issue on OSS list (didn't reach the list yet. Please have a look at further details below):
Kurt Seifried <kseifried@...> writes:
> Please use CVE-2013-0197 for this issue.
Thanks for creating the CVE; please take note of a small rectification on the
original issue report:
David Hicks <d <at> hx.id.au> writes:
> Jakub Galczyk discovered a cross site scripting (XSS)
> vulnerability in *MantisBT 1.2.12 and earlier versions*
This affects *only MantisBT version 1.2.12* (and the 'master'
development branch after 15-Sep-2012), as earlier versions did not contain the
commit introducing the 'match type' filtering feature .
It's also worth mentioning that a better patch for the vulnerability is
available under follow-up issue #15388 
 1.2.x branch: https://github.com/mantisbt/mantisbt/commit/5b491868
master branch: https://github.com/mantisbt/mantisbt/commit/6c6c3d72
mantis-1.2.14-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
mantis-1.2.14-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.