Security advisory for Bugzilla 4.2rc2, 4.0.4, 3.6.8 and 3.4.14



Summary
=======

Bugzilla is a Web-based bug-tracking system used by a large number of
software projects. The following security issues have been discovered
in Bugzilla:

* When a user creates a new account, Bugzilla doesn't correctly
reject email addresses containing non-ASCII characters, which
could be used to impersonate another user account.

* A CSRF vulnerability in the implementation of the JSON-RPC API
could be used to make changes to bugs or execute some admin tasks
without the victim's knowledge.

All affected installations are encouraged to upgrade as soon as
possible.


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

Class: Account Impersonation
Versions: 2.0 to 3.4.13, 3.5.1 to 3.6.7, 3.7.1 to 4.0.3,
4.1.1 to 4.2rc1
Fixed In: 3.4.14, 3.6.8, 4.0.4, 4.2rc2
Description: When a user creates a new account, Bugzilla doesn't
correctly reject email addresses containing non-ASCII
characters, which could be used to impersonate another
user account. Such email addresses could look visually
identical to other valid email addresses, and an attacker
could try to confuse other users and be added to bugs he
shouldn't have access to.
References: https://bugzilla.mozilla.org/show_bug.cgi?id=714472
CVE Number: CVE-2012-0448

Class: Cross-Site Request Forgery
Versions: 3.5.1 to 3.6.7, 3.7.1 to 4.0.3, 4.1.1 to 4.2rc1
Fixed In: 3.6.8, 4.0.4, 4.2rc2
Description: Due to a lack of validation of the Content-Type header
when making POST requests to jsonrpc.cgi, a possible
CSRF vulnerability was discovered. If a user visits an
HTML page with some malicious JS code in it, an attacker
could make changes to a remote Bugzilla installation on
behalf of the victim's account by using the JSON-RPC API.
The user would have had to be already logged in to the
target site for the vulnerability to work.

References: https://bugzilla.mozilla.org/show_bug.cgi?id=718319
CVE Number: CVE-2012-0440

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

The fixes for these issues are included in the 3.4.14, 3.6.8, 4.0.4,
and 4.2rc2 releases. Upgrading to a release with the relevant fixes will
protect your installation from possible exploits of these issues.

If you are unable to upgrade but would like to patch just the
individual security vulnerabilities, there are patches available for
each issue at the "References" URL for each vulnerability.

Full release downloads, patches to upgrade Bugzilla from previous
versions, and CVS/bzr upgrade instructions are available at:

http://www.bugzilla.org/download/


Credits
=======

The Bugzilla team wish to thank the following people/organizations for
their assistance in locating, advising us of, and assisting us to fix
this issue:

Frédéric Buclin
Max Kanat-Alexander
Byron Jones
Mario Gomes
James Kettle

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 mozilla.support.bugzilla
newsgroup or the support-bugzilla mailing list.
http://www.bugzilla.org/support/ has directions for accessing these
forums.



Relevant Pages

  • Security advisory for Bugzilla 4.2rc1, 4.0.3, 3.6.7 and 3.4.13
    ... Bugzilla is a Web-based bug-tracking system used by a large number of ... users to create an account. ... A CSRF vulnerability in post_bug.cgi and in attachment.cgi could ... All affected installations are encouraged to upgrade as soon as ...
    (Bugtraq)
  • Security advisory for Bugzilla 4.2 and 4.0.5
    ... Bugzilla is a Web-based bug-tracking system used by a large number of ... A CSRF vulnerability in the implementation of the XML-RPC API ... All affected installations are encouraged to upgrade as soon as ...
    (Bugtraq)
  • Security Advisory for Bugzilla 3.2.8, 3.4.8, 3.6.2, and 3.7.3
    ... Bugzilla is a Web-based bug-tracking system used by a large number of ... The following security issues have been discovered ... a serious Cross-Site Scripting vulnerability. ... All affected installations are encouraged to upgrade as soon as ...
    (Bugtraq)
  • Re: [opensuse] Update of aaa_base removes permissions to /dev/null,
    ... Github.com don't seem to recognize my account and "forgot password" says, ... happens automatically if you have an account for bugzilla or openSUSE. ... As aaa_base is a package it not possible to assign the bug to it. ... With the help of the the osc maintainer sub command ...
    (SuSE)
  • Security Advisory for Bugzilla 2.18.3, 2.20rc2, and 2.21
    ... discovered and fixed in the Bugzilla code: ... All Bugzilla installations are advised to upgrade to the latest stable ... Vulnerability Solutions ... The fixes for all of the security bugs mentioned in this advisory ...
    (Bugtraq)