[Full-Disclosure] SUSE Security Announcement: rsync (SuSE-SA:2003:050)

From: Thomas Biege (thomas_at_suse.de)
Date: 12/04/03

  • Next message: List Account: "RE: [Full-Disclosure] RE: Yahoo Instant Messenger YAUTO.DLL buffer overflow"
    To: full-disclosure@lists.netsys.com
    Date: Thu,  4 Dec 2003 18:14:53 +0100 (CET)



                            SUSE Security Announcement

            Package: rsync
            Announcement-ID: SuSE-SA:2003:050
            Date: Thursday, Dec 4th 2003 14:30 MET
            Affected products: 7.3, 8.0, 8.1, 8.2, 9.0
                                    SuSE Linux Database Server,
                                    SuSE eMail Server III, 3.1
                                    SuSE Linux Enterprise Server 7, 8
                                    SuSE Linux Firewall on CD/Admin host
                                    SuSE Linux Connectivity Server
                                    SuSE Linux Office Server
            Vulnerability Type: local privilege escalation
            Severity (1-10): 4
            SUSE default package: no
            Cross References: CAN-2003-0962

        Content of this advisory:
            1) security vulnerability resolved: heap overflow
               problem description, discussion, solution and upgrade information
            2) pending vulnerabilities, solutions, workarounds:
                - discontinue of SuSE Linux 7.3
                - KDE
                - mc
                - apache
                - screen
                - mod_gzip
                - unace
            3) standard appendix (further information)


    1) problem description, brief discussion, solution, upgrade information

        The rsync suite provides client and server tools to easily support an
        administrator keeping the files of different machines in sync.
        In most private networks the rsync client tool is used via SSH to fulfill
        his tasks. In an open environment rsync is run in server mode accepting
        connections from many untrusted hosts with, but mostly without,
        The rsync server drops its root privileges soon after it was started and
        per default creates a chroot environment.
        Due to insufficient integer/bounds checking in the server code a heap
        overflow can be triggered remotely to execute arbitrary code. This code
        does not get executed as root and access is limited to the chroot
        environment. The chroot environment maybe broken afterwards by abusing
        further holes in system software or holes in the chroot setup.

        Your are not vulnerable as long as you do not use rsync in server mode
        or you use authentication to access the rsync server.

        As a temporary workaround you can disable access to your rsync server for
        untrusted parties, enable authentication or switch back to rsync via SSH.

        Please 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 to install from the maintenance web.

        Intel i386 Platform:

        patch rpm(s):
        source rpm(s):

        patch rpm(s):
        source rpm(s):

        patch rpm(s):
        source rpm(s):

        patch rpm(s):
        source rpm(s):

        source rpm(s):

        Sparc Platform:

        source rpm(s):

        source rpm(s):


    2) Pending vulnerabilities in SUSE Distributions and Workarounds:

        - discontinue of SuSE Linux 7.3
        Two years after the release, SUSE will discontinue providing updates
        and security fixes for the SuSE Linux 7.3 consumer product on the
        Intel i386 and the PPC Power PC architectures. Vulnerabilities found
        after December 15th 2003 will not be fixed any more for SuSE Linux
        Directory structures referring to the SuSE Linux 7.3 release will be
        moved to the discontinued/ tree on our main ftp server ftp.suse.com
        the distribution directories first, followed by the update/ directory
        tree in January 2004.
        Please note that our SuSE Linux Enterprise Server family products have
        a much longer support period. These products are not concerned by this

        - KDE
        New KDE packages are currently being tested. These packages fixes
        several vulnerabilities:
          + remote root compromise (CAN-2003-0690)
          + weak cookies (CAN-2003-0692)
          + SSL man-in-the-middle attack
          + information leak through HTML-referrer (CAN-2003-0459)
          + wrong file permissions of config files
        The packages will be release as soon as testing is finished.

        - mc
        By using a special combination of links in archive-files it is possible
        to execute arbitrary commands while mc tries to open it in its VFS.
        The packages are currently tested and will be release as soon as

        - apache1/2
        The widely used HTTP server apache has several security vulnerabilities:
          - locally exploitable buffer overflow in the regular expression code.
            The attacker must be able to modify .htaccess or httpd.conf.
            (affects: mod_alias and mod_rewrite)
          - under some circumstances mod_cgid will output its data to the
            wrong client (affects: apache2)
        Update packages are available on our FTP servers.

        - freeradius
        Two vulnerabilities were found in the FreeRADIUS package.
        The remote denial-of-service attack bug was fixed and new packages
        will be released as soon as testing was successfully finished.
        The other bug is a remote buffer overflow in the module rlm_smb.
        We do not ship this module and will fix it for future releases.

        - screen
        A buffer overflow in screen was reported. Since SuSE Linux 8.0
        we do not ship screen with the s-bit anymore. An update package
        will be released for 7.3 as soon as possible.

        - mod_gzip
        The apache module mod_gzip is vulnerable to remote code execution
        while running in debug-mode. We do not ship this module in debug-mode
        but future versions will include the fix.
        Additionally the mod_gzip code was audited to fix more possible security
        related bugs.

        - unace
        The tool unace for handling the archive format ACE is vulnerable to
        a buffer overflow that can be triggered with long file-names as command
        line argument. This only affects unace version 2.5. Unfortunately this
        tool is provided closed source only from the author. Therefore we are
        unable to check for other bugs or look at the patch.
        Update packages are available from our FTP servers.

    3) 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 <name-of-the-file.rpm>
           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 disrecommend to subscribe to security lists which cause the
           email 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 <file.rpm>
           to verify the signature of the package, where <file.rpm> is the
           filename of the rpm package that you have downloaded. Of course,
           package authenticity verification can only target an un-installed rpm
           package file.
            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

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

            - 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:
            <suse-security-info@suse.com> or
            <suse-security-faq@suse.com> respectively.

        SUSE's security contact is <security@suse.com> or <security@suse.de>.
        The <security@suse.de> 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 <security@suse.de>
    pub 1024D/9C800ACA 2000-10-19 SuSE Package Signing Key <build@suse.de>

    Version: GnuPG v1.0.6 (GNU/Linux)
    Comment: For info see http://www.gnupg.org

    - -----END PGP PUBLIC KEY BLOCK-----

    Version: GnuPG v1.0.7 (GNU/Linux)

    -----END PGP SIGNATURE-----

    Full-Disclosure - We believe in it.
    Charter: http://lists.netsys.com/full-disclosure-charter.html

  • Next message: List Account: "RE: [Full-Disclosure] RE: Yahoo Instant Messenger YAUTO.DLL buffer overflow"

    Relevant Pages

    • SUSE Security Announcement: rsync (SuSE-SA:2003:050)
      ... In most private networks the rsync client tool is used via SSH to fulfill ... In an open environment rsync is run in server mode accepting ... after December 15th 2003 will not be fixed any more for SuSE Linux ... New KDE packages are currently being tested. ...
    • rsync and excludes
      ... We're using rsync to synchronize our Solaris Installation server. ... The other server get the packages from the master server via rsync ...
    • SUMMARY: rsync and excludes
      ... Summry: rsync and excludes ... the same rsync command on all clients if we use different NFS mounts. ... other parameters to get non-authorized packages from the server. ...
    • [Full-disclosure] [FLSA-2005:166941] Updated httpd and mod_ssl packages fix two security issues
      ... The Apache HTTP Server is a popular and freely-available Web server. ... A flaw was discovered in Apache httpd where the byterange filter would ... Users of mod_ssl and Apache httpd should update to these errata packages ... where is a list of the RPMs you wish to upgrade. ...
    • Re: Removing a DP
      ... What if I had DPs all across the US and wanted to remove ... you create another server share on ... Delete the shared folder that contains the packages manually. ... > Microsoft Online Partner Support ...