Security advisory for Bugzilla 4.2.1, 4.0.6 and 3.6.9

2012-04-23T00:00:00
ID SECURITYVULNS:DOC:27951
Type securityvulns
Reporter Securityvulns
Modified 2012-04-23T00:00:00

Description

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 abusing the X-FORWARDED-FOR header, an attacker could bypass the lockout policy allowing a possible brute-force discovery of a valid user password.

  • An attacker can get access to some bug information using the victim's credentials using a specially crafted HTML page.

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

Vulnerability Details

Class: Unauthorized Access Versions: 3.5.3 to 3.6.8, 3.7.1 to 4.0.5, 4.1.1 to 4.2 Fixed In: 3.6.9, 4.0.6, 4.2.1 Description: Due to a lack of proper validation of the X-FORWARDED-FOR header of an authentication request, an attacker could bypass the current lockout policy used for protection against brute-force password discovery. This vulnerability can only be exploited if the 'inbound_proxies' parameter is set. References: https://bugzilla.mozilla.org/show_bug.cgi?id=728639 CVE Number: CVE-2012-0465

Class: Cross Site Scripting Versions: 2.17.4 to 3.6.8, 3.7.1 to 4.0.5, 4.1.1 to 4.2 Fixed In: 3.6.9, 4.0.6, 4.2.1 Description: A JavaScript template used by buglist.cgi could be used by a malicious script to permit an attacker to gain access to some information about bugs he would not normally be allowed to see, using the victim's credentials. To be exploitable, the victim must be logged in when visiting the attacker's malicious page. References: https://bugzilla.mozilla.org/show_bug.cgi?id=745397 CVE Number: CVE-2012-0466

Vulnerability Solutions

The fixes for these issues are included in the 3.6.9, 4.0.6 and 4.2.1 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 these individual security vulnerabilities, there are patches available for the issues 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 in fixing these issues:

Frйdйric Buclin Byron Jones Soroush Dalili

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.