3.2.6, 3.4.6, 3.6.0, and 3.7 Security Advisory

Thursday, Jun 24th, 2010
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:

* Everybody could search for time-tracking information, not just
members of the timetrackinggroup.

* Under suexec, "localconfig" was world-readable, meaning that
local users with shell access to the Bugzilla server may have
been able to see the database password and the site_wide_secret.

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


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

Class:       Remote Information Disclosure
Versions:    2.17.1 to 3.2.6, 3.3.1 to 3.4.6, 3.5.1 to 3.6, 3.7
Fixed In:    3.2.7, 3.4.7, 3.6.1, 3.7.1
Description: Normally, information about time-tracking (estimated
hours, actual hours, hours worked, and deadlines) is
restricted to users in the "time-tracking group".
However, any user was able, by crafting their own
search URL, to search for bugs based using those
fields as criteria, thus possibly exposing sensitive
time-tracking information by a user seeing that a bug
matched their search.
References:  https://bugzilla.mozilla.org/show_bug.cgi?id=309952
CVE Number:  CVE-2010-1204

Class:       Local Information Disclosure
Versions:    3.5.1 to 3.6, 3.7
Fixed In:    3.6.1, 3.7.1
Description: If $use_suexec was set to "1" in the localconfig file,
then the localconfig file's permissions were set as
world-readable by checksetup.pl. This allowed any user
with local shell access to see the contents of the file,
including the database password and the site_wide_secret
variable used for CSRF protection.
References:  https://bugzilla.mozilla.org/show_bug.cgi?id=561797
CVE Number:  CVE-2010-0180


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: Teemu Mannermaa
Issue 1 Fixed by: Max Kanat-Alexander, Frédéric Buclin


Issue 2 Reporter: Daniel Piddock
Issue 2 Fixed by: Max Kanat-Alexander, Frédéric Buclin, Dave Miller, Tiago Mello

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.