3.2.2 and 3.3.3 Security Advisory

Monday, Mar 30th, 2009
Summary
=======

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

* Attachment editing was vulnerable to a cross-site request forgery.
Note that this issue was only fixed for 3.2.3 and 3.3.4 even though
all versions of Bugzilla are affected (see below for an explanation).

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


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

Class:       Cross-Site Request Forgery
Versions:    Every version before 3.2.3 or 3.3.4
Fixed In:    3.2.3, 3.3.4
Description: Attachment editing was vulnerable to a cross-site request
forgery, because it did not validate that calls to
attachment.cgi actually came from Bugzilla.

Bugzilla now generates a token that is validated when
an attachment is edited. Unfortunately, a fix for this issue
was only possible for 3.2.3 and 3.3.4. Fixing it on earlier
branches was not possible as attachment timestamps are not
available to generate and validate tokens.




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

The fix for this issue is included in the 
releases. Upgrading to a release with the relevant fix will
protect your installation from possible exploits of this issue.

If you are unable to upgrade but would like to patch just the security
vulnerability, there are patches available for the issue 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:


Reporter: Dave Miller
Fixed by: Reed Loden, Frédéric Buclin

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