Bugzilla Security Advisory - Bugzilla versions 2.x through 5.x suffer from cross site scripting and information leak vulnerabilities.
db307f7a48f357ccec4e2df7650d49504073c143e214926e2c2f8d2de6b1ae54
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:
* Unfiltered HTML injected into a dependency graph could be used to
create a cross-site scripting attack.
* Some web browsers incorrectly parse CSV files as valid JavaScript
code which could lead to data leak.
All affected installations are encouraged to upgrade as soon as
possible.
Vulnerability Details
=====================
Class: Cross-Site Scripting
Versions: Bugzilla 2.6 to 4.2.15, 4.3.1 to 4.4.10, 4.5.1 to 5.0.1
Fixed In: 4.2.16, 4.4.11, 5.0.2
Description: During the generation of a dependency graph, the code for
the HTML image map is generated locally if a local dot
installation is used. With escaped HTML characters in a bug
summary, it is possible to inject unfiltered HTML code in
the map file which the CreateImagemap function generates.
This could be used for a cross-site scripting attack.
References: https://bugzilla.mozilla.org/show_bug.cgi?id=1221518
CVE Number: CVE-2015-8508
Class: Information Leak
Versions: Bugzilla 2.17.1 to 4.2.15, 4.3.1 to 4.4.10, 4.5.1 to 5.0.1
Fixed In: 4.2.16, 4.4.11, 5.0.2
Description: If an external HTML page contains a <script> element with
its src attribute pointing to a buglist in CSV format, some
web browsers incorrectly try to parse the CSV file as valid
JavaScript code. As the buglist is generated based on the
privileges of the user logged into Bugzilla, the external
page could collect confidential data contained in the CSV
file.
References: https://bugzilla.mozilla.org/show_bug.cgi?id=1232785
CVE Number: CVE-2015-8509
Vulnerability Solutions
=======================
The fixes for these issues are included in the 4.2.16, 4.4.11 and 5.0.2
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 security
vulnerabilities, there are patches available for the issues at the
"References" URL for each vulnerability.
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 these
issues:
Issue 1 reported by: Holger Fuhrmannek
Issue 2 reported by: Mario Gomes
Fixed by: Frédéric Buclin, Dylan William Hardison,
David Lawrence, Gervase Markham
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.