Install/Filesystem.pm in Bugzilla 3.5.1 through 3.6 and 3.7, when use_suexec is enabled, uses world-readable permissions for the localconfig files, which allows local users to read sensitive configuration fields, as demonstrated by the database password field and the site_wide_secret field.
https://bugzilla.mozilla.org/show_bug.cgi?id=561797
http://www.vupen.com/english/advisories/2010/1595
http://www.securityfocus.com/bid/41144