Security Advisory for Bugzilla 2.20, 2.21.1, and 2.18.4

Max Kanat-Alexander mkanat at bugzilla.org
Tue Feb 21 08:18:55 UTC 2006


Summary
=======

Bugzilla is a Web-based bug-tracking system, used by a large number of
software projects.

This advisory covers three security bugs that have recently been
discovered and fixed in the Bugzilla code:

+ The 'whinedays' and 'mostfreqthreshold' parameters are not correctly
  validated in editparams.cgi. The first one can lead to SQL injection.

+ Escaped HTML markup in titles of RSS feeds are incorrectly decoded by
  some RSS readers and could potentially lead to XSS vulnerabilities.

+ The login form on the home page, in conjuction with very specific
  configuation settings and a specially formed URL, may redirect you
  outside the Bugzilla installation, allowing the login name and password
  to be stolen.

All Bugzilla installations are advised to upgrade to the latest stable
version of Bugzilla, 2.20.1.

Development snapshots of 2.21 before 2.22rc1 are also vulnerable.
If you are using a development snapshot, you should upgrade to 2.22rc1,
use CVS to update, or apply the patches from the specific bugs listed below.

None of these vulnerabilities affect the old Bugzilla 2.16.x versions.

Vulnerability Details
=====================

Issue 1
-------
Class:       SQL injection
Versions:    2.17.1 and above
Description: The 'whinedays' parameter, editable from editparams.cgi,
             is not validated before being saved. This can lead to SQL
             injection in the whineatnews.pl script. This injection
             requires administrative privileges.
             The validation for the 'mostfreqthreshold' parameter is also
             missing, but this is not exploitable.
Reference:   https://bugzilla.mozilla.org/show_bug.cgi?id=312498


Issue 2
-------
Class:       Cross Site Scripting
Versions:    2.20rc1 - 2.20, 2.21.1
Description: Some RSS readers incorrectly decode escaped HTML markup in
             feed titles and this could be used to inject some scripts.
             Although this is not a Bugzilla bug, we prefer to shift to
             Atom feeds, where the RFC is unambiguous about HTML markup
             in feed titles.
Reference:   https://bugzilla.mozilla.org/show_bug.cgi?id=313441


Issue 3
-------
Class:       Sensitive Data Exposure
Versions:    2.19.3 and above
Description: When the Bugzilla login page is at a subdirectory of the web
             server and the subdirectory name is a resolvable host on the
             victim's local network, it is possible to craft a URL that,
             when used to login to Bugzilla, would send the user's
             credentials to this host.
             These conditions make this flaw very difficult to exploit.
Reference:   https://bugzilla.mozilla.org/show_bug.cgi?id=325079


Vulnerability Solutions
=======================

The fixes for all of the security bugs mentioned in this advisory
are included in the 2.18.5, 2.20.1, and 2.22rc1 releases. Upgrading
to these releases will protect installations from possible exploits
of these issues.

Full release downloads, patches to upgrade Bugzilla from previous
versions, and CVS upgrade instructions are available at:
  http://www.bugzilla.org/download.html

Specific patches for each of the individual issues can be found on the
corresponding bug reports for each issue, at the URL given in the
reference for that issue in the list above.


Credits
=======

The Bugzilla team wish to thank the following people for their
assistance in locating, advising us of, and assisting us to fix
these situations:

Frédéric Buclin
Phil Ringnalda
Myk Melez
Teemu Mannermaa


General information about the Bugzilla bug-tracking system can be found
at http://www.bugzilla.org/

Comments and follow-ups can be directed to the
netscape.public.mozilla.webtools newsgroup or the mozilla-webtools
mailing list; http://www.bugzilla.org/support/ has directions for
accessing these forums.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.bugzilla.org/pipermail/announce/attachments/20060221/1006ab42/attachment-0001.sig>


More information about the announce mailing list