First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 107796
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Security <security@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Renat Lumpau <rl03@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:
Flags: Requestee:
 
 
  ()

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 107796 depends on: 107918 Show dependency tree
Bug 107796 blocks:

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-10-01 08:59 0000
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 From Renat Lumpau 2005-10-01 09:03:04 0000 -------
2.18.4 and 2.20 are in CVS.

------- Comment #2 From Jeffrey Forman (RETIRED) 2005-10-01 09:07:25 0000 -------
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 From Jeffrey Forman (RETIRED) 2005-10-01 09:17:37 0000 -------
alright, i'm testing the new bugzilla. 

------- Comment #4 From Thierry Carrez (RETIRED) 2005-10-02 02:02:47 0000 -------
Archs please test and mark stable 2.18.4 or 2.20...
Target KEYWORDS="amd64 ppc ppc64 sparc x86"

------- Comment #5 From Michael Hanselmann (hansmi) (RETIRED) 2005-10-02 05:26:58 0000 -------
Stable on ppc.

------- Comment #6 From Dan 2005-10-02 06:24:53 0000 -------
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 From Markus Rothe 2005-10-02 06:46:52 0000 -------
2.18.4 stable on ppc64.

------- Comment #8 From Renat Lumpau 2005-10-02 09:43:44 0000 -------
(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 From Dan 2005-10-02 09:48:40 0000 -------
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 From Renat Lumpau 2005-10-02 09:57:28 0000 -------
(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 From Dan 2005-10-02 11:43:46 0000 -------
Discussion about this on http://thread.gmane.org/gmane.linux.gentoo.devel/31939 

How did ppc ever make it stable? 

------- Comment #12 From Thierry Carrez (RETIRED) 2005-10-03 00:31:25 0000 -------
Waiting for bug 107918 to settle up.

------- Comment #13 From Renat Lumpau 2005-10-03 16:22:16 0000 -------
Folks,

The reconfig hook is no longer interactive. ppc and ppc64, please review the
changes as you've already marked stable.

------- Comment #14 From Dan 2005-10-03 19:06:54 0000 -------
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 From Michael Hanselmann (hansmi) (RETIRED) 2005-10-04 12:31:46 0000 -------
Looks good on ppc.

------- Comment #16 From Chris Gianelloni (RETIRED) 2005-10-04 14:18:02 0000 -------
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 From Renat Lumpau 2005-10-04 18:46:16 0000 -------
(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 From Chris Gianelloni (RETIRED) 2005-10-05 07:57:21 0000 -------
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 From Markus Rothe 2005-10-07 04:42:08 0000 -------
proved on ppc64

------- Comment #20 From Simon Stelling (RETIRED) 2005-10-07 05:05:56 0000 -------
amd64 stable

------- Comment #21 From Gustavo Zacarias (RETIRED) 2005-10-07 15:00:51 0000 -------
sparc stable.

------- Comment #22 From Thierry Carrez (RETIRED) 2005-10-08 02:11:40 0000 -------
Ready for GLSA vote

------- Comment #23 From Thierry Carrez (RETIRED) 2005-10-11 05:18:13 0000 -------
Looks rather minor to me, I tend to vote NO.

------- Comment #24 From Thierry Carrez (RETIRED) 2005-10-12 02:28:17 0000 -------
Security, please cast your vote.

------- Comment #25 From Sune Kloppenborg Jeppesen 2005-10-12 02:52:34 0000 -------
Not sure, but I tend to vote NO. 

------- Comment #26 From Thierry Carrez (RETIRED) 2005-10-13 02:49:55 0000 -------
Given lack of manpower, two half-votes are sufficient, feel free to reopen if
you disagree.

First Last Prev Next    No search results available      Search page      Enter new bug