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

Frédéric Buclin lpsolit at gmail.com
Tue Jan 31 23:40:54 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJPKHwFAAoJEJZXZhv5X1hqtVAP/ifrYpIgwGHZpMd+Ql7kY9CU
GmcgGrwpvA3OWvXUOMkM/M1oLzgqv8IXMyD/Y+RcEGI3GkQ+xsoEePvHMa2b6vCY
t2Se3lsN32+ggxYQypp8e4Eg+nvZth+q2vb1ueFZuoKEkquDKTvMOFO4DTZfMNbZ
Dek3TFfF1bAw76Uf0sPsb730D477WVROLcWa2ZFz7PNAqX93AjsJg+Ii8C3q1K3g
o23Xih8JmRXz/FuLAL3HnQQJALdFKbNuX5jsBejn5XITFo8gx/AAWY1qBgqptz6J
FTKij0XLhqcY3dsWGnqpqYWbQyhIlUPiyNQ4Ot4XDLEzKD82ve8uVFhH4f7siQAP
pAxIxrOo/WI8foSeLpIwO92vXwsqtSXc+YKsNz8l8htkOdzR9O1DNeJr/nRCf73v
ov7k/lVUEQ3MzATGoCSgb6Sf211rY8wpdnpOEF8C361AGDDKL01qQx/abDZEgI77
i9gHEX48n/j6ke+yivggZy19h5RfDDVB9kFsrbWurjr6sGxblQmPw/0A948/4XmX
HQUjHsmKBGzVuhAkGEO4aTebKlDpGM71Ikbi+YL9+/W3vhb1AMPxZOWRzUWjDHNH
gsvduK/gvP80EJqGSSPuxqhaNalnAFi7E1ZSLpGzIlv6/r2aJYlqebP0MeUnkEVW
vtINhZlaMY0gEiU/YB+1
=Szn1
-----END PGP SIGNATURE-----



More information about the announce mailing list