From koon@gentoo.org Sat Sep 24 05:01:03 2005
From: Thierry Carrez <koon@gentoo.org>
To: gentoo-announce@lists.gentoo.org
Cc: full-disclosure@lists.grok.org.uk, bugtraq@securityfocus.com, security-alerts@linuxsecurity.com
Date: Sat, 24 Sep 2005 10:58:23 +0200
Subject: [Full-disclosure] [ GLSA 200509-16 ] Mantis: XSS and SQL injection vulnerabilities

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200509-16
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: Mantis: XSS and SQL injection vulnerabilities
      Date: September 24, 2005
      Bugs: #103308
        ID: 200509-16

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

Mantis is affected by an SQL injection and several cross-site scripting
(XSS) vulnerabilities.

Background
==========

Mantis is a web-based bugtracking system written in PHP.

Affected packages
=================

    -------------------------------------------------------------------
     Package            /  Vulnerable  /                    Unaffected
    -------------------------------------------------------------------
  1  www-apps/mantisbt      < 0.19.2                         >= 0.19.2

Description
===========

Mantis fails to properly sanitize untrusted input before using it. This
leads to an SQL injection and several cross-site scripting
vulnerabilities.

Impact
======

An attacker could possibly use the SQL injection vulnerability to
access or modify information from the Mantis database. Furthermore the
cross-site scripting issues give an attacker the ability to inject and
execute malicious script code or to steal cookie-based authentication
credentials, potentially compromising the victim's browser.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All Mantis users should upgrade to the latest version:

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

References
==========

  [ 1 ] CAN-2005-2556
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2556
  [ 2 ] CAN-2005-2557
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2557
  [ 3 ] Secunia Advisory SA16506
        http://secunia.com/advisories/16506/

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200509-16.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2005 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.0


    [ Part 1.2, "OpenPGP digital signature"  Application/PGP-SIGNATURE ]
    [ 264bytes. ]
    [ Unable to print this part. ]


    [ Part 2: "Attached Text" ]

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/