4.3.1, 4.2.1, 4.0.6, and 3.6.9 Security Advisory

Thursday, Jul 26th, 2012
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:

* In HTML bugmails, an improper validation of the permissions of the
  addressee can lead to confidential information about bugs and
  attachments to be visible to the addressee.

* The description of a private attachment can be visible to a user
  who hasn't permissions to access this attachment if the attachment
  ID is mentioned in a comment in a bug.

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


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

Class:       Information Leak
Affected:    4.1.1 to 4.2.1, 4.3.1
Fixed In:    4.2.2, 4.3.2
Description: In HTML bugmails, all bug IDs and attachment IDs are
             linkified, and hovering these links displays a tooltip
             with the bug summary or the attachment description if
             the user is allowed to see the bug or attachment.
             But when validating user permissions when generating the
             email, the permissions of the user who edited the bug were
             taken into account instead of the permissions of the
             addressee. This means that confidential information could
             be disclosed to the addressee if the other user has more
             privileges than the addressee.
             Plain text bugmails are not affected as bug and attachment
             IDs are not linkified.
References:  https://bugzilla.mozilla.org/show_bug.cgi?id=777398
CVE Number:  CVE-2012-1968


Class:       Information Leak
Affected:    2.17.5 to 3.6.9, 3.7.1 to 4.0.6, 4.1.1 to 4.2.1, 4.3.1
Fixed In:    3.6.10, 4.0.7, 4.2.2, 4.3.2
Description: The description of a private attachment could be visible
             to a user who hasn't permissions to access this attachment
             if the attachment ID is mentioned in a public comment in
             a bug that the user can see.
References:  https://bugzilla.mozilla.org/show_bug.cgi?id=777586
CVE Number:  CVE-2012-1969


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: Frédéric Buclin
Issue 1 Fixed by: Frédéric Buclin, Byron Jones


Issue 2 Reporter: Frédéric Buclin
Issue 2 Fixed by: Frédéric Buclin, Byron Jones

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.