Security Advisory for Bugzilla 4.4.1, 4.2.7 and 4.0.11

Frédéric Buclin lpsolit at gmail.com
Thu Oct 17 11:33:28 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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:

* A CSRF vulnerability in process_bug.cgi affecting Bugzilla 4.4 only
  can lead to a bug being edited without the user consent.

* A CSRF vulnerability in attachment.cgi can lead to an attachment
  being edited without the user consent.

* Several unfiltered parameters when editing flagtypes can lead to XSS.

* Due to an incomplete fix for CVE-2012-4189, some incorrectly filtered
  field values in tabular reports can lead to XSS.

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


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

Class:       Cross-Site Request Forgery
Versions:    4.4rc1 to 4.4
Fixed In:    4.4.1
Description: When a user submits changes to a bug right after another
             user did, a midair collision page is displayed to inform
             the user about changes recently made. This page contains
             a token which can be used to validate the changes if the
             user decides to submit his changes anyway. A regression
             in Bugzilla 4.4 caused this token to be recreated if a
             crafted URL was given, even when no midair collision page
             was going to be displayed, allowing an attacker to bypass
             the token check and abuse a user to commit changes on his
             behalf.
References:  https://bugzilla.mozilla.org/show_bug.cgi?id=911593
CVE Number:  CVE-2013-1733

Class:       Cross-Site Request Forgery
Versions:    2.16rc1 to 4.0.10, 4.1.1 to 4.2.6, 4.3.1 to 4.4
Fixed In:    4.0.11, 4.2.7, 4.4.1
Description: When an attachment is edited, a token is generated to
             validate changes made by the user. Using a crafted URL,
             an attacker could force the token to be recreated,
             allowing him to bypass the token check and abuse a user
             to commit changes on his behalf.
References:  https://bugzilla.mozilla.org/show_bug.cgi?id=913904
CVE Number:  CVE-2013-1734

Class:       Cross-Site Scripting
Versions:    2.17.1 to 4.0.10, 4.1.1 to 4.2.6, 4.3.1 to 4.4
Fixed In:    4.0.11, 4.2.7, 4.4.1
Description: Some parameters passed to editflagtypes.cgi were not
             correctly filtered in the HTML page, which could lead
             to XSS.
References:  https://bugzilla.mozilla.org/show_bug.cgi?id=924802
CVE Number:  CVE-2013-1742

Class:       Cross-Site Scripting
Versions:    4.1.1 to 4.2.6, 4.3.1 to 4.4
Fixed In:    4.2.7, 4.4.1
Description: Due to an incomplete fix for CVE-2012-4189, some
             incorrectly filtered field values in tabular reports
             could lead to XSS.
References:  https://bugzilla.mozilla.org/show_bug.cgi?id=924932
CVE Number:  CVE-2013-1743


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

The fixes for these issues are included in the 4.0.11, 4.2.7 and 4.4.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 the
individual security vulnerabilities, there are patches available for
each issue 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 for their
assistance in locating, advising us of, and assisting us to fix these
issues:

Mateusz Goik
Frédéric Buclin
David Lawrence

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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJSX8sHAAoJEJZXZhv5X1hqgboQAJJXpN/n7Act9Wlo8xpNtAJ6
W/v2BYJI3S3+s1cfFOVrDdjJdQwPNBadaTeN3LUVB8PzfdAuaofVeNF2FqmK7RSV
vEyUFS3GoLO4jlQzdwjtdFcI0zcoX7Y0l/RTuEGolFZIVAy3ROYgqEfix9lzsWFP
WavdIODPWaxvTNon3Rl2nuxtbWXZEIdBBSKqRjU1kdsr/fZMFi5V0xt8EMQAmcNn
P7r5JHbBh4T21FyYPpJ+hMU8tOy1JLtQayqFWsaC2/8h8RZGzpA465HkqcsI0QVd
Yw5jDpb1zoVKFNV0ZxSmlM54CilzcXODESidVC0iLxzpc7wsIEPxEVYXQuxB5qkh
phAUh5rOenHDYwZdbFQf8/Fmxc2NUUVpzkqlRxbFiqrvgGXS920iD3wtHyr0FCy5
KlaxXaB6wNKHpc+ARWPnsUWAoctJHyZ0TzXKdp8xL96zzFV2b2cS08TK94pOog7l
d9gN3vfURZfJ8XMSsw13Un1X0R3IiGhBEp49lbAB0NfPL7PDRNJe7A6JPMIveMK8
1K3Sm7gWuOpRgkNzmRzCcmivt0X0t4+wGFYj3lN9+rNiVrdNpDvdFkmkrCjqzTRf
wsvB5FbPCauEgkiZ1Oa4HuMaoEptAD9E0xV9bzmCyXzo7q43tyrUMVBDBsSFX1Xk
SPcXg8EMItpwbHCHzAkO
=kej7
-----END PGP SIGNATURE-----



More information about the announce mailing list