5.0.1, 4.4.10, and 4.2.15 Security Advisory

Tuesday, Dec 22nd, 2015
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:

* 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 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:


Issue 1 Reporter: Holger Fuhrmannek
Issue 1 Fixed by: Frédéric Buclin, Dylan William Hardison, David Lawrence, Gervase Markham


Issue 2 Reporter: Mario Gomes
Issue 2 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.