LinuxSecurity.com
Share your story
The central voice for Linux and Open Source security news
Home News Topics Advisories HOWTOs Features Newsletters About Register

Welcome!
Sign up!
EnGarde Community
Login
Polls
What is the most important Linux security technology?
 
Advisories
Community
Linux Events
Linux User Groups
Link to Us
Security Center
Book Reviews
Security Dictionary
Security Tips
SELinux
White Papers
Featured Blogs
All About Linux
DanWalsh LiveJournal
Securitydistro
Latest Newsletters
Linux Advisory Watch: October 24th, 2014
Linux Security Week: October 20th, 2014
Subscribe
LinuxSecurity Newsletters
E-mail:
Choose Lists:
About our Newsletters
RSS Feeds
Get the LinuxSecurity news you want faster with RSS
Powered By

  
SuSE: samba remote privilege escalation Print E-mail
User Rating:      How can I rate this item?
Posted by Joe Shakespeare   
SuSE The Samba developers informed us about several potential integer overflow issues in the Samba 2 and Samba 3 code.

______________________________________________________________________________

                        SUSE Security Announcement

        Package:                samba
        Announcement-ID:        SUSE-SA:2004:045
        Date:                   Wednesday, Dec 22st 2004 14:30 MEST
        Affected products:      8.1, 8.2, 9.0, 9.1, 9.2
                                SUSE Linux Desktop 1.0
                                SUSE Linux Enterprise Server 8, 9
                                Novell Linux Desktop 9
        Vulnerability Type:     remote privilege escalation
        Severity (1-10):        9
        SUSE default package:   no
        Cross References:       CAN-2004-1154

    Content of this advisory:
        1) security vulnerability resolved:
             - several integer overflows
           problem description
        2) solution/workaround
        3) special instructions and notes
        4) package location and checksums
        5) pending vulnerabilities, solutions, workarounds:
            - none
        6) standard appendix (further information)

______________________________________________________________________________

1) problem description, brief discussion

    The Samba developers informed us about several potential integer overflow
    issues in the Samba 2 and Samba 3 code.
    This update adds constraints to the Samba server code which protects it
    from using values from untrusted sources as operands in arithmetic
    operations to determine heap memory space needed to copy data.
    Without these limitations a remote attacker may be able to overflow the
    heap memory of the process and to overwrite vital information structures
    which can be abused to execute arbitrary code.


2) solution/workaround

    There is no workaround known. Please install the new packages provided on
    our FTP servers.


3) special instructions and notes

    Please make sure that all running instances of smbd which were started
    before the update were terminated.
    Run the following command as root:

                    /usr/sbin/rcsmb try-restart


4) package location and checksums

    Download the update package for your distribution and verify its
    integrity by the methods listed in section 3) of this announcement.
    Then, install the package using the command "rpm -Fhv file.rpm" to apply
    the update.
    Our maintenance customers are being notified individually. The packages
    are being offered for installation from the maintenance web.

    x86 Platform:

    SUSE Linux 9.1:
    ftp://ftp.suse.com/pub/suse/i386/update/9.1/rpm/i586/samba-3.0.9-2.1.5.i586.rpm
      31d6dce3c460010b98a105a234fdfc29
    ftp://ftp.suse.com/pub/suse/i386/update/9.1/rpm/i586/samba-client-3.0.9-2.1.5.i586.rpm
      5970e5495401201fd17bf72d42806756
    ftp://ftp.suse.com/pub/suse/i386/update/9.1/rpm/i586/samba-vscan-0.3.5-11.7.5.i586.rpm
      076bbc4a366e9294ea00e4ce6df5d92c
    ftp://ftp.suse.com/pub/suse/i386/update/9.1/rpm/i586/libsmbclient-3.0.9-2.1.5.i586.rpm
      94519e295e8c2bb70b6d11381be7ce4b
    ftp://ftp.suse.com/pub/suse/i386/update/9.1/rpm/i586/libsmbclient-devel-3.0.9-2.1.5.i586.rpm
      9385c5f9ff0b727db2bd0ac8d5d71d0b
    patch rpm(s):
    ftp://ftp.suse.com/pub/suse/i386/update/9.1/rpm/i586/samba-3.0.9-2.1.5.i586.patch.rpm
      d73986ed6e5d65c293e5ecba075bf380
    ftp://ftp.suse.com/pub/suse/i386/update/9.1/rpm/i586/samba-client-3.0.9-2.1.5.i586.patch.rpm
      5817596556919012df4a9c5b64f096d3
    ftp://ftp.suse.com/pub/suse/i386/update/9.1/rpm/i586/samba-vscan-0.3.5-11.7.5.i586.patch.rpm
      e712e8b43540e0471c118463637208ce
    ftp://ftp.suse.com/pub/suse/i386/update/9.1/rpm/i586/libsmbclient-3.0.9-2.1.5.i586.patch.rpm
      dfaea082943a41c2e70628c661cb3f41
    ftp://ftp.suse.com/pub/suse/i386/update/9.1/rpm/i586/libsmbclient-devel-3.0.9-2.1.5.i586.patch.rpm
      03d7db3fbc15a7a9662bf2f491ebd10d
    source rpm(s):
    ftp://ftp.suse.com/pub/suse/i386/update/9.1/rpm/src/samba-3.0.9-2.1.5.src.rpm
      cb7ae8682eb81165ac85fb240476aad8

    SUSE Linux 9.0:
    ftp://ftp.suse.com/pub/suse/i386/update/9.0/rpm/i586/samba-2.2.8a-230.i586.rpm
      ee2fb1cc077f3a042f4dbc283e595059
    ftp://ftp.suse.com/pub/suse/i386/update/9.0/rpm/i586/samba-client-2.2.8a-230.i586.rpm
      f4a3e0b3301d331f69d2f68aaf023923
    ftp://ftp.suse.com/pub/suse/i386/update/9.0/rpm/i586/samba-vscan-0.3.2a-283.i586.rpm
      cfa30b9837ddf28f9473e3a30c502977
    ftp://ftp.suse.com/pub/suse/i386/update/9.0/rpm/i586/libsmbclient-2.2.8a-230.i586.rpm
      80bf72a472af1f4e0740620d0a11efcd
    ftp://ftp.suse.com/pub/suse/i386/update/9.0/rpm/i586/libsmbclient-devel-2.2.8a-230.i586.rpm
      6d3017a019779c6bab77d4420fd9d25a
    patch rpm(s):
    ftp://ftp.suse.com/pub/suse/i386/update/9.0/rpm/i586/samba-2.2.8a-230.i586.patch.rpm
      95a6d02fe783c624c9c91863731fa725
    ftp://ftp.suse.com/pub/suse/i386/update/9.0/rpm/i586/samba-client-2.2.8a-230.i586.patch.rpm
      4fc881c60bbd642fe45bc1bf45dcab66
    ftp://ftp.suse.com/pub/suse/i386/update/9.0/rpm/i586/samba-vscan-0.3.2a-283.i586.patch.rpm
      51474087fae63e6990a405a47659dbca
    ftp://ftp.suse.com/pub/suse/i386/update/9.0/rpm/i586/libsmbclient-2.2.8a-230.i586.patch.rpm
      49fb1785f3b2482c82188456288f00c9
    ftp://ftp.suse.com/pub/suse/i386/update/9.0/rpm/i586/libsmbclient-devel-2.2.8a-230.i586.patch.rpm
      0178214fa88081ff7a81cf45212474a3
    source rpm(s):
    ftp://ftp.suse.com/pub/suse/i386/update/9.0/rpm/src/samba-2.2.8a-230.src.rpm
      4379b75dd8a56c30b7692f98d2e5ce1f

    SUSE Linux 8.2:
    ftp://ftp.suse.com/pub/suse/i386/update/8.2/rpm/i586/samba-2.2.8a-230.i586.rpm
      61357920f6867471d7620bbc89f7c5ac
    ftp://ftp.suse.com/pub/suse/i386/update/8.2/rpm/i586/samba-client-2.2.8a-230.i586.rpm
      ae6be84a1cd10cc3e9a3b35ffc655202
    ftp://ftp.suse.com/pub/suse/i386/update/8.2/rpm/i586/samba-vscan-0.3.2a-283.i586.rpm
      f0a8b417898c72a9f01bc8a585edca50
    ftp://ftp.suse.com/pub/suse/i386/update/8.2/rpm/i586/libsmbclient-2.2.8a-230.i586.rpm
      6f9a7fcb1a312e69a1180d830b7c20f9
    ftp://ftp.suse.com/pub/suse/i386/update/8.2/rpm/i586/libsmbclient-devel-2.2.8a-230.i586.rpm
      1655622d433a92cc681933b8789cb626
    patch rpm(s):
    ftp://ftp.suse.com/pub/suse/i386/update/8.2/rpm/i586/samba-2.2.8a-230.i586.patch.rpm
      fc0f1995b339155671e1e815197d9207
    ftp://ftp.suse.com/pub/suse/i386/update/8.2/rpm/i586/samba-client-2.2.8a-230.i586.patch.rpm
      548e87b48b1860ef0cca5d7b4f515ad2
    ftp://ftp.suse.com/pub/suse/i386/update/8.2/rpm/i586/samba-vscan-0.3.2a-283.i586.patch.rpm
      a0bed64f240cb05661ee2940d3674495
    ftp://ftp.suse.com/pub/suse/i386/update/8.2/rpm/i586/libsmbclient-2.2.8a-230.i586.patch.rpm
      f3d8ce4cfa47c2339ddd667542f86aaf
    ftp://ftp.suse.com/pub/suse/i386/update/8.2/rpm/i586/libsmbclient-devel-2.2.8a-230.i586.patch.rpm
      d4f5f688b670c3622a4cfa946ff2b213
    source rpm(s):
    ftp://ftp.suse.com/pub/suse/i386/update/8.2/rpm/src/samba-2.2.8a-230.src.rpm
      716200e217b2ace1d7408c05b19a6aa2

    SUSE Linux 8.1:
    ftp://ftp.suse.com/pub/suse/i386/update/8.1/rpm/i586/samba-2.2.8a-230.i586.rpm
      e18ca12ea203e0088678d6d8ce250a78
    ftp://ftp.suse.com/pub/suse/i386/update/8.1/rpm/i586/samba-client-2.2.8a-230.i586.rpm
      24b7a5fadadc6db6347f4748cef1b0fd
    ftp://ftp.suse.com/pub/suse/i386/update/8.1/rpm/i586/samba-vscan-0.3.2a-283.i586.rpm
      e5e1f125cd181b4a19422bb6f3b55c3f
    patch rpm(s):
    ftp://ftp.suse.com/pub/suse/i386/update/8.1/rpm/i586/samba-2.2.8a-230.i586.patch.rpm
      1945bf0bf7ff7d2c81568e5bc09a52fe
    ftp://ftp.suse.com/pub/suse/i386/update/8.1/rpm/i586/samba-client-2.2.8a-230.i586.patch.rpm
      5383658a41c122daef14dfa2c5b55784
    ftp://ftp.suse.com/pub/suse/i386/update/8.1/rpm/i586/samba-vscan-0.3.2a-283.i586.patch.rpm
      6fb046905637c3a6af3f12fec3f0b292
    source rpm(s):
    ftp://ftp.suse.com/pub/suse/i386/update/8.1/rpm/src/samba-2.2.8a-230.src.rpm
      c56bd7063220447f67e716aba72d0892



    x86-64 Platform:

    SUSE Linux 9.1:
    ftp://ftp.suse.com/pub/suse/x86_64/update/9.1/rpm/x86_64/samba-3.0.9-2.1.5.x86_64.rpm
      953d948cad88670011ae7a3ed2118762
    ftp://ftp.suse.com/pub/suse/x86_64/update/9.1/rpm/x86_64/samba-client-3.0.9-2.1.5.x86_64.rpm
      85199d04b3d15e6c1dd58ab544a1e510
    ftp://ftp.suse.com/pub/suse/x86_64/update/9.1/rpm/x86_64/samba-vscan-0.3.5-11.7.5.x86_64.rpm
      3509a79794efd0f0f63872bd3007b0fc
    ftp://ftp.suse.com/pub/suse/x86_64/update/9.1/rpm/x86_64/libsmbclient-3.0.9-2.1.5.x86_64.rpm
      b22487852b695b8b60490be0a455c289
    ftp://ftp.suse.com/pub/suse/x86_64/update/9.1/rpm/x86_64/libsmbclient-devel-3.0.9-2.1.5.x86_64.rpm
      942fbf53d0b646aca7ab260090dcbf8e
    patch rpm(s):
    ftp://ftp.suse.com/pub/suse/x86_64/update/9.1/rpm/x86_64/samba-3.0.9-2.1.5.x86_64.patch.rpm
      2864fcaad4c8d7068edd876af3ec2bae
    ftp://ftp.suse.com/pub/suse/x86_64/update/9.1/rpm/x86_64/samba-client-3.0.9-2.1.5.x86_64.patch.rpm
      ec5764c99de3f9c56d8ac340d9d1643a
    ftp://ftp.suse.com/pub/suse/x86_64/update/9.1/rpm/x86_64/samba-vscan-0.3.5-11.7.5.x86_64.patch.rpm
      d324917057e9a2a2bde0931bc73c7bc7
    ftp://ftp.suse.com/pub/suse/x86_64/update/9.1/rpm/x86_64/libsmbclient-3.0.9-2.1.5.x86_64.patch.rpm
      731cc0be9fd9b716dd7f35d21909ae4b
    ftp://ftp.suse.com/pub/suse/x86_64/update/9.1/rpm/x86_64/libsmbclient-devel-3.0.9-2.1.5.x86_64.patch.rpm
      d1e2effe2b1354b9024c7a89c6387442
    source rpm(s):
    ftp://ftp.suse.com/pub/suse/x86_64/update/9.1/rpm/src/samba-3.0.9-2.1.5.src.rpm
      40da40f8ff9f1db087eac4d7b620a35d

    SUSE Linux 9.0:
    ftp://ftp.suse.com/pub/suse/x86_64/update/9.0/rpm/x86_64/samba-2.2.8a-230.x86_64.rpm
      1c22bc894586a1c9c5e9d44deaa2ba4a
    ftp://ftp.suse.com/pub/suse/x86_64/update/9.0/rpm/x86_64/samba-client-2.2.8a-230.x86_64.rpm
      0d0217165b53d305d7c798d9b5e32ff3
    ftp://ftp.suse.com/pub/suse/x86_64/update/9.0/rpm/x86_64/samba-vscan-0.3.2a-283.x86_64.rpm
      ef3a6e86f61846f4205ebe022c9664e1
    ftp://ftp.suse.com/pub/suse/x86_64/update/9.0/rpm/x86_64/libsmbclient-2.2.8a-230.x86_64.rpm
      855242455eb372013af4d011d2bcf594
    ftp://ftp.suse.com/pub/suse/x86_64/update/9.0/rpm/x86_64/libsmbclient-devel-2.2.8a-230.x86_64.rpm
      fd83b22302546721730c33b18771e527
    patch rpm(s):
    ftp://ftp.suse.com/pub/suse/x86_64/update/9.0/rpm/x86_64/samba-2.2.8a-230.x86_64.patch.rpm
      f73247663792f7da9bfbd8509bd17d98
    ftp://ftp.suse.com/pub/suse/x86_64/update/9.0/rpm/x86_64/samba-client-2.2.8a-230.x86_64.patch.rpm
      6540338d9ea046f15a8008a3dfb992c4
    ftp://ftp.suse.com/pub/suse/x86_64/update/9.0/rpm/x86_64/samba-vscan-0.3.2a-283.x86_64.patch.rpm
      8fe413f93cba0007e1121110b42bf0ed
    ftp://ftp.suse.com/pub/suse/x86_64/update/9.0/rpm/x86_64/libsmbclient-2.2.8a-230.x86_64.patch.rpm
      d074f8dfde22f1b4f4e853e8cd09a808
    ftp://ftp.suse.com/pub/suse/x86_64/update/9.0/rpm/x86_64/libsmbclient-devel-2.2.8a-230.x86_64.patch.rpm
      ab366f5de0559174c665dfc4113dce35
    source rpm(s):
    ftp://ftp.suse.com/pub/suse/x86_64/update/9.0/rpm/src/samba-2.2.8a-230.src.rpm
      371b70146d4b1bbb9795b29b2276e36a
______________________________________________________________________________

5) pending vulnerabilities in SUSE Distributions and Workarounds:

    Please have a look at:
        http://www.suse.de/de/security/2004_04_sr.html
______________________________________________________________________________

6) standard appendix: authenticity verification, additional information

  - Package authenticity verification:

    SUSE update packages are available on many mirror ftp servers all over
    the world. While this service is being considered valuable and important
    to the free and open source software community, many users wish to be
    sure about the origin of the package and its content before installing
    the package. There are two verification methods that can be used
    independently from each other to prove the authenticity of a downloaded
    file or rpm package:
    1) md5sums as provided in the (cryptographically signed) announcement.
    2) using the internal gpg signatures of the rpm package.

    1) execute the command
        md5sum 
       after you downloaded the file from a SUSE ftp server or its mirrors.
       Then, compare the resulting md5sum with the one that is listed in the
       announcement. Since the announcement containing the checksums is
       cryptographically signed (usually using the key security@suse.de),
       the checksums show proof of the authenticity of the package.
       We recommend against subscribing to security lists that cause the
       e-mail message containing the announcement to be modified
       so that the signature does not match after transport through the mailing
       list software.
       Downsides: You must be able to verify the authenticity of the
       announcement in the first place. If RPM packages are being rebuilt
       and a new version of a package is published on the ftp server, all
       md5 sums for the files are useless.

    2) rpm package signatures provide an easy way to verify the authenticity
       of an rpm package. Use the command
        rpm -v --checksig 
       to verify the signature of the package, where  is the
       file name of the rpm package that you have downloaded. Of course,
       package authenticity verification can only target an uninstalled rpm
       package file.
       Prerequisites:
        a) gpg is installed
        b) The package is signed using a certain key. The public part of this
           key must be installed by the gpg program in the directory
           ~/.gnupg/ under the user's home directory who performs the
           signature verification (usually root). You can import the key
           that is used by SUSE in rpm packages for SUSE Linux by saving
           this announcement to a file ("announcement.txt") and
           running the command (do "su -" to be root):
            gpg --batch; gpg < announcement.txt | gpg --import
           SUSE Linux distributions version 7.1 and thereafter install the
           key "build@suse.de" upon installation or upgrade, provided that
           the package gpg is installed. The file containing the public key
           is placed at the top-level directory of the first CD (pubring.gpg)
           and at ftp://ftp.suse.com/pub/suse/pubring.gpg-build.suse.de .


  - SUSE runs two security mailing lists to which any interested party may
    subscribe:

    suse-security@suse.com
        -   general/linux/SUSE security discussion.
            All SUSE security announcements are sent to this list.
            To subscribe, send an email to
                .

    suse-security-announce@suse.com
        -   SUSE's announce-only mailing list.
            Only SUSE's security announcements are sent to this list.
            To subscribe, send an email to
                .

    For general information or the frequently asked questions (faq)
    send mail to:
         or
         respectively.

    =====================================================================
    SUSE's security contact is  or .
    The  public key is listed below.
    =====================================================================
______________________________________________________________________________

    The information in this advisory may be distributed or reproduced,
    provided that the advisory is not modified in any way. In particular,
    it is desired that the clear-text signature shows proof of the
    authenticity of the text.
    SUSE Linux AG makes no warranties of any kind whatsoever with respect
    to the information contained in this security advisory.

Type Bits/KeyID    Date       User ID
pub  2048R/3D25D3D9 1999-03-06 SuSE Security Team 
pub  1024D/9C800ACA 2000-10-19 SuSE Package Signing Key 

 
< Prev   Next >
    
Partner

 

Latest Features
Peter Smith Releases Linux Network Security Online
Securing a Linux Web Server
Password guessing with Medusa 2.0
Password guessing as an attack vector
Squid and Digest Authentication
Squid and Basic Authentication
Demystifying the Chinese Hacking Industry: Earning 6 Million a Night
Free Online security course (LearnSIA) - A Call for Help
What You Need to Know About Linux Rootkits
Review: A Practical Guide to Fedora and Red Hat Enterprise Linux - Fifth Edition
Yesterday's Edition
Disaster as CryptoWall encrypts US firm's entire server installation
Now Everyone Wants to Sell You a Magical Anonymity Router. Choose Wisely
Partner Sponsor

Community | HOWTOs | Blogs | Features | Book Reviews | Networking
 Security Projects |  Latest News |  Newsletters |  SELinux |  Privacy |  Home
 Hardening |   About Us |   Advertise |   Legal Notice |   RSS |   Guardian Digital
(c)Copyright 2014 Guardian Digital, Inc. All rights reserved.