Gentoo Logo

Mantis: Cross-Site Scripting


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200803-04 / mantis
Release Date March 03, 2008
Latest Revision March 03, 2008: 01
Impact low
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
www-apps/mantisbt < 1.0.8-r1 >= 1.0.8-r1 All supported architectures

Related bugreports: #203791


A persistent Cross-Site Scripting vulnerability has been discovered in Mantis.

2.  Impact Information


Mantis is a web-based bug tracking system.


seiji reported that the filename for the uploaded file in bug_report.php is not properly sanitised before being stored.


A remote attacker could upload a file with a specially crafted to a bug report, resulting in the execution of arbitrary HTML and script code within the context of the users's browser. Note that this vulnerability is only exploitable by authenticated users.

3.  Resolution Information


There is no known workaround at this time.


All Mantis users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=www-apps/mantisbt-1.0.8-r1"

4.  References


Page updated March 03, 2008

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.