Gentoo Archives: gentoo-commits

From: "Pierre-Yves Rofes (py)" <py@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in xml/htdocs/security/en/glsa: glsa-200711-29.xml
Date: Tue, 20 Nov 2007 21:15:30
py          07/11/20 21:15:25

  Added:                glsa-200711-29.xml
  GLSA 200711-29

Revision  Changes    Path
1.1                  xml/htdocs/security/en/glsa/glsa-200711-29.xml

file :

Index: glsa-200711-29.xml
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>

<glsa id="200711-29">
  <title>Samba: Execution of arbitrary code</title>
    Samba contains two buffer overflow vulnerabilities potentially resulting in
    the execution of arbitrary code, one of which is currently unfixed.
  <product type="ebuild">samba</product>
  <announced>November 20, 2007</announced>
  <revised>November 20, 2007: 01</revised>
    <package name="net-fs/samba" auto="yes" arch="*">
      <unaffected range="ge">3.0.26a-r2</unaffected>
      <vulnerable range="lt">3.0.26a-r2</vulnerable>
    Samba is a suite of SMB and CIFS client/server programs for UNIX.
    Two vulnerabilities have been reported in nmbd. Alin Rad Pop (Secunia
    Research) discovered a boundary checking error in the
    reply_netbios_packet() function which could lead to a stack-based
    buffer overflow (CVE-2007-5398). The Samba developers discovered a
    boundary error when processing GETDC logon requests also leading to a
    buffer overflow (CVE-2007-4572).
  <impact type="high">
    To exploit the first vulnerability a remote unauthenticated attacker
    could send specially crafted WINS "Name Registration" requests followed
    by a WINS "Name Query" request. This might lead to execution of
    arbitrary code with elevated privileges. Note that this vulnerability
    is exploitable only when WINS server support is enabled in Samba. The
    second vulnerability could be exploited by sending specially crafted
    "GETDC" mailslot requests, but requires Samba to be configured as a
    Primary or Backup Domain Controller. It is not believed the be
    exploitable to execute arbitrary code.
    To work around the first vulnerability, disable WINS support in Samba
    by setting "<i>wins support = no</i>" in the "global" section of your
    smb.conf and restart Samba.
    The Samba 3.0.27 ebuild that resolves both vulnerabilities is currently
    masked due to a regression in the patch for the second vulnerability.
    Since no working patch exists yet, all Samba users should upgrade to
    3.0.26a-r2, which contains a fix for the first vulnerability
    # emerge --sync
    # emerge --ask --oneshot --verbose &quot;&gt;=net-fs/samba-3.0.26a-r2&quot;</code>
    An update to this temporary GLSA will be sent when the second
    vulnerability will be fixed.
    <uri link="">CVE-2007-4572</uri>
    <uri link="">CVE-2007-5398</uri>
  <metadata tag="submitter" timestamp="Sat, 03 Nov 2007 23:37:14 +0000">
  <metadata tag="bugReady" timestamp="Tue, 20 Nov 2007 21:13:02 +0000">

gentoo-commits@g.o mailing list