4.2.rc1, 4.0.3, 3.6.7, and 3.4.13 Security Advisory
Tuesday, Jan 31st, 2012Summary ======= 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 Affected: 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 Affected: 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 fix for these issues is included in the releases. Upgrading to a release with the relevant fix will protect your installation from possible exploits of these issues. If you are unable to upgrade but would like to patch just the security vulnerability, there are patches available for the issues at the "References" URL. Full release downloads, patches to upgrade Bugzilla from previous versions, and git upgrade instructions are available at: https://www.bugzilla.org/download/ Credits ======= The Bugzilla team wish to thank the following people for their assistance in locating, advising us of, and assisting us to fix this issue: Issue 1 Reporter: James Kettle Issue 1 Fixed by: Frédéric Buclin, Byron Jones, Max Kanat-Alexander Issue 2 Reporter: Mario Gomes Issue 2 Fixed by: Frédéric Buclin, Max Kanat-Alexander General information about the Bugzilla bug-tracking system can be found at: https://www.bugzilla.org/ Comments and follow-ups can be directed to the support-bugzilla mailing list. https://www.bugzilla.org/support/ has directions for accessing this forum.