OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Michael Schloh
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-web                      Date:   28-Nov-2002 12:45:39
  Branch: HEAD                             Handle: 2002112811453900

  Added files:
    openpkg-web/security    OpenPKG-SA-2002.012-samba.txt

  Log:
    Samba security advisory draft.

  Summary:
    Revision    Changes     Path
    1.1         +73 -0      openpkg-web/security/OpenPKG-SA-2002.012-samba.txt
  ____________________________________________________________________________

  Index: openpkg-web/security/OpenPKG-SA-2002.012-samba.txt
  ============================================================
  $ cvs update -p -r1.1 OpenPKG-SA-2002.012-samba.txt
  ________________________________________________________________________
  
  OpenPKG Security Advisory                            The OpenPKG Project
  http://www.openpkg.org/security.html              http://www.openpkg.org
  [EMAIL PROTECTED]                         [EMAIL PROTECTED]
  OpenPKG-SA-2002.012                                          28-Nov-2002
  ________________________________________________________________________
  
  Package:             samba
  Vulnerability:       code execution, root exploit
  OpenPKG Specific:    no
  
  Dependent Packages:  none
  
  Affected Releases:   Affected Packages:       Corrected Packages:
  OpenPKG 1.0          <= samba-2.2.2-1.0.0     >= samba-2.2.7-1.0.1
  OpenPKG 1.1          <= samba-2.2.5-1.1.0     >= samba-2.2.7-1.1.1
  OpenPKG CURRENT      <= samba-2.2.6-20021017  >= samba-2.2.7-20021120
  
  Description:
    A vulnerability in Samba [0] versions 2.2.2 through 2.2.6 was discovered by
    the Debian Samba maintainers [1]. A bug in the length checking for encrypted
    password change requests from clients could be exploited using a buffer
    overrun attack on the smbd stack. This attack would have to be crafted
    in such a way that converting a DOS codepage string to little endian
    UCS2 unicode would translate into an executable block of code.
  
    Check whether you are affected by running "<prefix>/bin/rpm -q samba". If
    you have an affected version of the samba package (see above), please
    upgrade it according to the solution below.
  
  Workaround:
  
  Solution:
    Update existing packages to newly patched versions of Samba. Select the
    updated source RPM appropriate for your OpenPKG release [2][3][4], and
    fetch it from the OpenPKG FTP service or a mirror location. Verify its
    integrity [5], build a corresponding binary RPM from it and update your
    OpenPKG installation by applying the binary RPM [6]. For the latest
    OpenPKG 1.1 release, perform the following operations to permanently fix
    the security problem (for other releases adjust accordingly).
  
    $ ftp ftp.openpkg.org
    ftp> bin
    ftp> cd release/1.1/UPD
    ftp> get samba-2.2.7-1.1.1.src.rpm
    ftp> bye
    $ <prefix>/bin/rpm -v --checksig samba-2.2.7-1.1.1.src.rpm
    $ <prefix>/bin/rpm --rebuild samba-2.2.7-1.1.1.src.rpm
    $ su -
    # <prefix>/bin/rpm -Fvh <prefix>/RPM/PKG/samba-2.2.7-1.1.1.*.rpm
    # <prefix>/etc/rc samba stop start
  ________________________________________________________________________
  
  References:
    [0]  http://www.samba.org/
    [1]  http://www.debian.org/security/2002/dsa-200
    [2]  ftp://ftp.openpkg.org/release/1.0/UPD/
    [3]  ftp://ftp.openpkg.org/release/1.1/UPD/
    [4]  ftp://ftp.openpkg.org/current/SRC/
    [5] http://www.openpkg.org/security.html#signature
    [6] http://www.openpkg.org/tutorial.html#regular-source
  ________________________________________________________________________
  
  For security reasons, this advisory was digitally signed with
  the OpenPGP public key "OpenPKG <[EMAIL PROTECTED]>" (ID 63C4CB9F)
  of the OpenPKG project which you can find under the official URL
  http://www.openpkg.org/openpkg.pgp or on http://keyserver.pgp.com/. To
  check the integrity of this advisory, verify its digital signature by
  using GnuPG (http://www.gnupg.org/). For example, pipe this message to
  the command "gpg --verify --keyserver keyserver.pgp.com".
  ________________________________________________________________________
  
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to