4.2rc2 and 4.0.4 Security Advisory

Wednesday, February 22nd, 2012

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:

* A CSRF vulnerability in the implementation of the XML-RPC API
  when running under mod_perl 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

Vulnerability Details

Class:       Cross-Site Request Forgery
Versions:    4.0.2 to 4.0.4, 4.1.1 to 4.2rc2
Fixed In:    4.0.5, 4.2
Description: Due to a lack of validation of the enctype form
             attribute when making POST requests to xmlrpc.cgi,
             a possible CSRF vulnerability was discovered. If a user
             visits an HTML page with some malicious HTML code in it,
             an attacker could make changes to a remote Bugzilla installation
             on behalf of the victim's account by using the XML-RPC API
             on a site running mod_perl. Sites running under mod_cgi
             are not affected. Also 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=725663
CVE Number:  CVE-2012-0453

Vulnerability Solutions

The fix for this issue is included in the 4.0.5 and 4.2 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
individual security vulnerability, there is a patch available for
the issue at the "References" URL for the vulnerability.

Full release downloads, patches to upgrade Bugzilla from previous
versions, and CVS/bzr upgrade instructions are available at:



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:

David Lawrence
Byron Jones
Frédéric Buclin
Mario Gomes

General information about the Bugzilla bug-tracking system can be found


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