Security advisory for Bugzilla 4.2 and 4.0.5



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:

* 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
possible.


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:

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 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
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.



Relevant Pages

  • Security advisory for Bugzilla 4.2rc1, 4.0.3, 3.6.7 and 3.4.13
    ... Bugzilla is a Web-based bug-tracking system used by a large number of ... users to create an account. ... A CSRF vulnerability in post_bug.cgi and in attachment.cgi could ... All affected installations are encouraged to upgrade as soon as ...
    (Bugtraq)
  • Security Advisory for Bugzilla 4.4.1, 4.2.7 and 4.0.11
    ... Bugzilla is a Web-based bug-tracking system used by a large number of ... A CSRF vulnerability in process_bug.cgi affecting Bugzilla 4.4 only ... All affected installations are encouraged to upgrade as soon as ... CVE Number: CVE-2013-1733 ...
    (Bugtraq)
  • Security Advisory for Bugzilla 3.2.8, 3.4.8, 3.6.2, and 3.7.3
    ... Bugzilla is a Web-based bug-tracking system used by a large number of ... The following security issues have been discovered ... a serious Cross-Site Scripting vulnerability. ... All affected installations are encouraged to upgrade as soon as ...
    (Bugtraq)
  • [Full-disclosure] [ MDVSA-2013:066 ] bugzilla
    ... Multiple vulnerablilities was identified and fixed in bugzilla: ... which allows remote attackers to obtain sensitive ... Cross-site scripting vulnerability in the Flash component ... The updated packages have upgraded to the 4.2.5 version which is not ...
    (Full-Disclosure)
  • [ MDVSA-2013:066 ] bugzilla
    ... Multiple vulnerablilities was identified and fixed in bugzilla: ... which allows remote attackers to obtain sensitive ... Cross-site scripting vulnerability in the Flash component ... The updated packages have upgraded to the 4.2.5 version which is not ...
    (Bugtraq)