First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 62476
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Security <security@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Sune Kloppenborg Jeppesen <jaervosz@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 62476 depends on: 58529 Show dependency tree
Bug 62476 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

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: 2004-08-31 23:43 0000
From http://www.securityfocus.com/archive/1/373619

Version(s): prior to 3.0.6, prior to 2.2.11 
 
Description:  A vulnerability was reported in Samba. A remote authenticated user can
cause smbd to crash. 

The vendor reported that a remote authenticated user can send a FindNextPrintChangeNotify()
request without having previously sent a corresponding FindFirstPrintChangeNotify()
requeste to cause smbd to crash.

This behavior can be triggered by a Windows XP SP2 client.

The flaw resides in printer_notify_info() in 'rpc_server/srv_spoolss_nt.c'.

Craig Huegen reported this flaw to the vendor. 
 
Impact:  A remote authenticated user can cause smbd to crash.
 
Solution:  The vendor has released a fixed version (3.0.6 and 2.2.11), available at:

http://samba.org/samba/download/

------- Comment #1 From Sune Kloppenborg Jeppesen 2004-08-31 23:50:45 0000 -------
We already have samba-3.0.6-r2 in portage is it ready to be marked stable on
arches?

From Samba.org:

Samba 3.0.7 Coming Soon


Samba 3.0.7 is scheduled for release next week in order to fix a couple of
fairly visible bugs in 3.0.6, which include (from Jerry Carter's post to
samba-technical):

snum mismatches on home directories after relogin from Windows domain member
(Samba domain)
winbind bug that causes 'getent passwd DOMAIN\user' to fail when filling in the
information using the samlogon_cache
possible printing bugs (still working on this one). bugzilla #id: 1464 
unconfirmed upgrade bugs with XP clients (still not sure about this one) (no
bug #id)

Until the release is available, those in need of immediate fixes can find
patches here.

------- Comment #2 From Christian Andreetta (RETIRED) 2004-09-01 02:39:58 0000 -------
just committed samba-3.0.6-r3 (as 3.0.6-r2, with all latest Jerry Carter's
patches). This could be made stable for arm, mips, sparc, x86.
Support for alpha, amd64, hppa, ia64, ppc, ppc64, s390 still misses because of
a perl dependency in case of ldap use: this is only (i think ;) due to lack of
arch test.
Bug 58529 was opened for this, but these arches are still pending.

------- Comment #3 From Thierry Carrez (RETIRED) 2004-09-01 03:13:21 0000 -------
arm, mips, sparc, x86 : please test and mark 3.0.6-r3 stable if OK.

Other arches are blocked by bug 58529. We'll have to wait for this one to be solved to issue a GLSA about this.

------- Comment #4 From Gustavo Zacarias (RETIRED) 2004-09-01 06:11:08 0000 -------
samba-3.0.6-r3 fine for sparc, stabled.

------- Comment #5 From Sune Kloppenborg Jeppesen 2004-09-06 10:53:37 0000 -------
Please mark >=3.0.6 stable.

Note that some archs need to mark Bug #58529 stable also

------- Comment #6 From Danny van Dyk (RETIRED) 2004-09-06 14:46:38 0000 -------
=3.0.6* won't configure on amd64 due to problems with libpam. It would have
been
nice if the samba maintainer would have filed a bug when he masked samba-3.0.6*
on
some archs (as the policy for version bumps suggests). I'll work on this
problem
now to get us stable. This could take some time. I still have no clue what's
wrong
with libpam.

------- Comment #7 From Danny van Dyk (RETIRED) 2004-09-06 15:23:14 0000 -------
Ok, i think i got it. Configure checks if /usr/{lib32,lib} is a directory (in
that order). However, on archs with CONF_LIBDIR != lib, this is not necessarily true for /usr/lib. For us, it is a symlink. In my eyes, the easiest (and quickest) way to fix this is to "append-ldflags -L/usr/$(get_libdir)". This should be done
unconditionally.

Samba-Maintainer: Are you ok for me applying this change to =samba-3.0.6* ?

------- Comment #8 From Sune Kloppenborg Jeppesen 2004-09-06 23:49:32 0000 -------
CC'ing satya back on the bug. Christian please take a look at comment #7

------- Comment #9 From Christian Andreetta (RETIRED) 2004-09-07 02:47:08 0000 -------
Danny (comment #7): ok. You're right: this could have been done before :(
Note for all interested: it's another bug to be opened, but since we're talking about security :) ... samba-3.0.6-r4 ships with the suid BIND_NOW linker flag active: see mail thread on gentoo-core about 'suid handing with portage >=51_pre21', http://lwn.net/Articles/99137 or bug #62674 (not only on samba).

------- Comment #10 From Danny van Dyk (RETIRED) 2004-09-08 05:26:34 0000 -------
stable on amd64.

------- Comment #11 From SpanKY 2004-09-08 06:13:12 0000 -------
moved a few archs to stable

------- Comment #12 From Sune Kloppenborg Jeppesen 2004-09-08 06:33:34 0000 -------
***bump***
please mark x86
***bump***

------- Comment #13 From Bryan Østergaard (RETIRED) 2004-09-08 18:09:53 0000 -------
Stable on alpha.

------- Comment #14 From SpanKY 2004-09-08 20:02:38 0000 -------
moved x86 to stable myself

------- Comment #15 From Sune Kloppenborg Jeppesen 2004-09-09 00:13:17 0000 -------
GLSA 200409-14

mips, ppc64, s390 please mark stable to benifit from the GLSA.

------- Comment #16 From Sune Kloppenborg Jeppesen 2004-09-09 11:24:51 0000 -------
Just got the following mail from <jerry@samba.org>. Satya please verify
|
| Impact
| ======
|
| A remote authorized user could potentially crash a Samba server after
| issuing these out of sequence requests.

This is incorrect. 

------- Comment #17 From Sune Kloppenborg Jeppesen 2004-09-09 11:24:51 0000 -------
Just got the following mail from <jerry@samba.org>. Satya please verify
|
| Impact
| ======
|
| A remote authorized user could potentially crash a Samba server after
| issuing these out of sequence requests.

This is incorrect.  You cannot crash the smbd server.  You
can only crash your own smbd process.  So the only thing you
can do is DyS (deny yourself service).

This really is not a security issue.

btw....I maintain a security list for Samba pkg maintainers.
You can have you pkg maintainer contact me if you would like
to be subscribed.

------- Comment #18 From Tom Lynema 2004-09-09 11:49:04 0000 -------
https://bugzilla.samba.org/show_bug.cgi?id=1520

Gives some informaion on the bug.  It seems to be a windows issue.

From http://de.samba.org/samba/history/samba-3.0.6.html 

    * BUG 1520: Work around bug in Windows XP SP2 RC2 where the 
      client sends a FindNextPrintChangeNotify() request without 
      previously sending a FindFirstPrintChangeNotify().  Return 
      the same error code as Windows 2000 SP4.

------- Comment #19 From Danny van Dyk (RETIRED) 2004-09-09 11:52:19 0000 -------
Ok, we'll remove the stable flag. 3.0.6 doesn't compile on all machines, on
those which compile there were network problems.

Satya: seems we need a backport of the security patches to 3.0.5.

------- Comment #20 From Thierry Carrez (RETIRED) 2004-09-09 13:05:13 0000 -------
Looks like it's not a security bug at all. So I would say no backport needed,
keep your ebuilds like they are.

We'll try to fix the GLSA mess ASAP so that arches marking ebuilds back ~ won't
get hurt too much by users that can't apply GLSAs.

------- Comment #21 From Kurt Lieber 2004-09-09 14:12:31 0000 -------
ok, if we screwed up, then we should issue an errata glsa and remove this from
CVS.  (not to hide it, but because tools like glsa-check are going to be
looking for published GLSAs)

Additionally, we should definitely subscribe security@gentoo.org to the list
Jeremy mentioned in his email.

------- Comment #22 From Sune Kloppenborg Jeppesen 2004-09-10 00:11:35 0000 -------
GLSA 200409-14 removed from CVS.

Errata coming soon.

------- Comment #23 From Sune Kloppenborg Jeppesen 2004-09-10 06:37:06 0000 -------
This is not a security issue. GLSA 200409-14 have been recommitted explaining
this and an errata released.

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