Mantis: Multiple vulnerabilities — GLSA 200512-12

Mantis is affected by multiple vulnerabilities ranging from file upload and SQL injection to cross-site scripting and HTTP response splitting.

Affected Packages

www-apps/mantisbt on all architectures
Affected versions < 0.19.4
Unaffected versions >= 0.19.4

Background

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

Description

Tobias Klein discovered that Mantis contains several vulnerabilities, including:

  • a file upload vulnerability.
  • an injection vulnerability in filters.
  • an SQL injection vulnerability in the user-management page.
  • a port cross-site-scripting vulnerability in filters.
  • an HTTP header CRLF injection vulnerability.

Impact

An attacker could possibly exploit the file upload vulnerability to execute arbitrary script code, and the SQL injection vulnerability to access or modify sensitive information from the Mantis database. Furthermore, the cross-site scripting and HTTP response splitting may allow an attacker 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.4"

References

Release Date
December 22, 2005

Latest Revision
May 22, 2006: 02

Severity
normal

Exploitable
remote

Bugzilla entries