Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107796 - www-apps/bugzilla: information disclosure vulnerabilities
Summary: www-apps/bugzilla: information disclosure vulnerabilities
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Security
URL: http://www.bugzilla.org/releases/2.20...
Whiteboard: B4 [noglsa]
Keywords:
Depends on: 107918
Blocks:
  Show dependency tree
 
Reported: 2005-10-01 08:59 UTC by Renat Lumpau (RETIRED)
Modified: 2005-10-13 02:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Renat Lumpau (RETIRED) gentoo-dev 2005-10-01 08:59:06 UTC
See URL for full security advisory

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

Issue 1
-------
Class:       Information Leak
Versions:    2.18rc1 - 2.18.3, 2.19 - 2.20rc2, 2.21
Description: config.cgi gives JavaScript and RDF information about Bugzilla
             to third-party clients, including a list of products in the
             Bugzilla installation. The "requirelogin" parameter requires
             that all people be logged into Bugzilla before seeing any data,
             as a security measure.
             In affected versions, config.cgi is always accessible, and always
             contains information to non-logged-in users, even when 
             "requirelogin" is turned on, possibly exposing product names that
             administrators expected to be confidential.
Reference:   https://bugzilla.mozilla.org/show_bug.cgi?id=308256


Issue 2
-------
Class:       Information Leak
Versions:    2.19.1 - 2.20rc2, 2.21
Description: Bugzilla contains features to prevent users from "seeing" other 
             users, enabled by the "usevisibilitygroups" parameter. Bugzilla
             also contains a feature called "user matching," which enables
             users to type in part of a username and get back a list of
             possible matches.
             If user matching is turned on and is in "substring" mode,
             all matching users will be returned to a query, regardless
             of the visibility groups settings, exposing users who should
             be invisible.
Reference:   https://bugzilla.mozilla.org/show_bug.cgi?id=308662


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

The fixes for all of the security bugs mentioned in this advisory
are included in the 2.18.4, 2.20, and 2.21.1 releases.  Upgrading
to these releases will protect installations from possible exploits
of these issues.
Comment 1 Renat Lumpau (RETIRED) gentoo-dev 2005-10-01 09:03:04 UTC
2.18.4 and 2.20 are in CVS.
Comment 2 Jeffrey Forman (RETIRED) gentoo-dev 2005-10-01 09:07:25 UTC
yeah, i know. i'm waiting on confirmation from lance to get a perl module
installed on bugs.g.o before i can even begin to test 2.20. i cant just drop in
a new bugzilla install. ours is customized to all hell ;)

-jeff
Comment 3 Jeffrey Forman (RETIRED) gentoo-dev 2005-10-01 09:17:37 UTC
alright, i'm testing the new bugzilla. 
Comment 4 Thierry Carrez (RETIRED) gentoo-dev 2005-10-02 02:02:47 UTC
Archs please test and mark stable 2.18.4 or 2.20...
Target KEYWORDS="amd64 ppc ppc64 sparc x86"
Comment 5 Michael Hanselmann (hansmi) (RETIRED) gentoo-dev 2005-10-02 05:26:58 UTC
Stable on ppc.
Comment 6 Dan 2005-10-02 06:24:53 UTC
I get an interactive config.. From what I know.. shouldn't this be part of 
pkg_config?  emerge is supposed to be completely autonomous 
Comment 7 Markus Rothe (RETIRED) gentoo-dev 2005-10-02 06:46:52 UTC
2.18.4 stable on ppc64.
Comment 8 Renat Lumpau (RETIRED) gentoo-dev 2005-10-02 09:43:44 UTC
(In reply to comment #6)
> I get an interactive config.. From what I know.. shouldn't this be part of 
> pkg_config?  emerge is supposed to be completely autonomous 

You'll want to set USE="vhosts" then. Also, please read man webapp-config.
Comment 9 Dan 2005-10-02 09:48:40 UTC
Erm... I was not aware that interactive config should be toggled by a 
completely unrelated use-flag... Is the _really_ supposed to happen? 
Comment 10 Renat Lumpau (RETIRED) gentoo-dev 2005-10-02 09:57:28 UTC
(In reply to comment #9)
> Erm... I was not aware that interactive config should be toggled by a 
> completely unrelated use-flag... Is the _really_ supposed to happen? 

The "completely unrelated use-flag" instructs webapp-config to install the
application into a vhost. Sometimes, that involves more than just copying /
linking files into another directory. If you don't want that to happen, please
turn on the USE flag.
Comment 11 Dan 2005-10-02 11:43:46 UTC
Discussion about this on http://thread.gmane.org/gmane.linux.gentoo.devel/31939 
 
How did ppc ever make it stable? 
Comment 12 Thierry Carrez (RETIRED) gentoo-dev 2005-10-03 00:31:25 UTC
Waiting for bug 107918 to settle up.
Comment 13 Renat Lumpau (RETIRED) gentoo-dev 2005-10-03 16:22:16 UTC
Folks,

The reconfig hook is no longer interactive. ppc and ppc64, please review the
changes as you've already marked stable.
Comment 14 Dan 2005-10-03 19:06:54 UTC
I appreciate your work to fix it.. unfortunately it seems to still be broken :/  
  
without USE="vhosts", the checkconfig.pl does not get put into 
the /var/www/localhost/htdocs directory.. thus, it needs to be manually copied 
before doing anything... This is where pkg_config() would come in, correct? 
 
I will not be able to work on this tonight, but I'm willing to take a look at 
it come tommorow if no one figures out a fix before then :/ 
Comment 15 Michael Hanselmann (hansmi) (RETIRED) gentoo-dev 2005-10-04 12:31:46 UTC
Looks good on ppc.
Comment 16 Chris Gianelloni (RETIRED) gentoo-dev 2005-10-04 14:18:02 UTC
It looks pretty broken for initial installations to me.  How exactly is it
working on PPC when it has the issues listed in comment #14?

Unless you manually copy checkconfig.pl into your vhost and manually edit
localconfig, which the ebuild mentions nothing about, then manually run
checkconfig.pl, your bugzilla installation will not work.  Basically, if
USE="vhosts" then it needs to tell you how to run webapp-config to install the
app on your individual vhosts, then to edit localconfig and run checkconfig.pl
afterwards.  For USE="-vhosts", it should tell the user to run ebuild
/var/db/pkg/www-apps/bugzilla/bugzilla*.ebuild config, to set up localconfig.

An even better solution would be to put in some sort of marker, such as
"localconfig.done" or something that is done by pkg_config, so that once a user
has configured their bugzilla, the ebuild can automatically re-run
checkconfig.pl non-interactively at merge time.

If necessary, I can get an ebuild patch put together, but at this point, I will
definitely say that a package that doesn't work and provides no instructions on
how to get it to work probably isn't a good candidate for stable.
Comment 17 Renat Lumpau (RETIRED) gentoo-dev 2005-10-04 18:46:16 UTC
(1) wth is checkconfig.pl? I assume you're talking about checksetup.pl. 

(2) With USE="-vhosts", it _is_ copied into your ${MY_INSTALLDIR}, or
/var/www/localhost/htdocs/bugzilla. Where are you copying it from?

(3) With USE="vhosts", it _does_ tell you to run webapp-config to install the
app. Really, it does. Try it.

(4) Your collective fascination with pkg_config in the context of webapp-config
tells me you're not familiar with how the thing works. Once again, pkg_config is
not aware of where your vhosts reside, so it is of no help here. Please read man
webapp.eclass and man webapp-config.

(5) If you bother to follow the link to the installation manual, which the
postinstall instructions _do_ tell you to do, you would see that you need to run
./checksetup.pl and edit localconfig. Previously, the reconfig hook did this for
you - this was the whole issue with interactive package configurations, remember?

(6) The marker is not going to work. For new installs, you can't run the script
automatically as it's going to be interactive. For most upgrades, such as 2.18.4
-> 2.20, you'll need to edit localconfig to remove a few obsolete entries and
add a few (e.g., db_driver). checksetup.pl warns you.
Comment 18 Chris Gianelloni (RETIRED) gentoo-dev 2005-10-05 07:57:21 UTC
I apologize for the bug spam.  I was only responding based on a conversation
with Dan, one of the x86 AT.  Anyway, 2.18.4 is stable on x86.

The only issues that I see are that checksetup.pl isn't executable once installed.
Comment 19 Markus Rothe (RETIRED) gentoo-dev 2005-10-07 04:42:08 UTC
proved on ppc64
Comment 20 Simon Stelling (RETIRED) gentoo-dev 2005-10-07 05:05:56 UTC
amd64 stable
Comment 21 Gustavo Zacarias (RETIRED) gentoo-dev 2005-10-07 15:00:51 UTC
sparc stable.
Comment 22 Thierry Carrez (RETIRED) gentoo-dev 2005-10-08 02:11:40 UTC
Ready for GLSA vote
Comment 23 Thierry Carrez (RETIRED) gentoo-dev 2005-10-11 05:18:13 UTC
Looks rather minor to me, I tend to vote NO.
Comment 24 Thierry Carrez (RETIRED) gentoo-dev 2005-10-12 02:28:17 UTC
Security, please cast your vote.
Comment 25 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2005-10-12 02:52:34 UTC
Not sure, but I tend to vote NO. 
Comment 26 Thierry Carrez (RETIRED) gentoo-dev 2005-10-13 02:49:55 UTC
Given lack of manpower, two half-votes are sufficient, feel free to reopen if
you disagree.