[Full-Disclosure] SUSE Security Announcement: mailman remote file disclosure (SUSE-SA:2005:006)

From: Marcus Meissner (meissner_at_suse.de)
Date: 02/14/05

  • Next message: Thierry Zoller: "Re: [Full-Disclosure] The ultimate solution to phising"
    Date: Mon, 14 Feb 2005 10:34:06 +0100
    To: full-disclosure@lists.netsys.com
    
    

    -----BEGIN PGP SIGNED MESSAGE-----

    ______________________________________________________________________________

                            SUSE Security Announcement

            Package: mailman
            Announcement-ID: SUSE-SA:2005:007
            Date: Monday, Feb 14th 2005 10:30 MET
            Affected products: 8.2, 9.0, 9.1, 9.2
                                    SUSE Linux Enterprise Server 8, 9
            Vulnerability Type: remote file disclosure
            Severity (1-10): 5
            SUSE default package: yes
            Cross References: CAN-2005-0202
                                    CAN-2004-1143
                                    CAN-2004-1177

        Content of this advisory:
            1) security vulnerability resolved:
                 - remote file disclosure by directory traversal
                 - cross site scripting
                 - requires additional package python-xml
            2) solution/workaround
            3) special instructions and notes
            4) package location and checksums
            5) pending vulnerabilities, solutions, workarounds:
            6) standard appendix (further information)

    ______________________________________________________________________________

    1) problem description, brief discussion

        Mailman is a flexible mailing list management tool. It provides
        mail controlled subscription front ends and also includes CGI scripts
        to handle subscription, moderation and archive retrieval and other
        options.

        Due to incomplete input validation the "private" CGI script which
        handles archive retrieval could be used to read any file on the
        system, including the configuration database of the mailman lists
        which include passwords in plain text. A remote attacker just needs
        a valid account on one mailing list managed by this mailman instance.

        This update fixes this problem and is tracked under the Mitre CVE
        ID CAN-2005-0202.

        Please see section (3), "special instructions and notes".

        Our previous mailman update (only announced in the SUSE Summary Report)
        additionally fixed the following two security problems:
            - a cross site scripting problem (CAN-2004-1177)
            - too weak auto generated passwords (CAN-2004-1143)

        This previous security fix requires the additional "python-xml" RPM
        which was not required before.

    2) solution/workaround

       Temporary workarounds:

       - Disable execution of the CGI scripts of mailman by either moving
         the scripts away, or disabling it in the web servers configuration.

       - Edit the true_path function in the Mailman/Cgi/private.py script to
         contain:

         SLASH = '/'

         def true_path(path):
             "Ensure that the path is safe by removing .."
             parts = [x for x in path.split(SLASH) if x not in ('.', '..')]
             return SLASH.join(parts)[1:]

    3) special instructions and notes

        After installing the upgraded packages, please make sure that
        your mailing list config databases have not been retrieved by
        attackers.

        You can do so by checking for patterns like ".....///" in your
        web servers access logs.

        If this is the case:
             - Reset all user passwords.

               The last security update includes a new "change_member_pw"
               script which can do that easily.

             - Change the mailing list admin password.

             - Optionally: Look for members which should not be in the list

    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.2:
        ftp://ftp.suse.com/pub/suse/i386/update/9.2/rpm/i586/mailman-2.1.5-5.6.i586.rpm
          714996a830908538e30e6109faf58d23
        patch rpm(s):
        ftp://ftp.suse.com/pub/suse/i386/update/9.2/rpm/i586/mailman-2.1.5-5.6.i586.patch.rpm
          0f11a3a3c2631c94eef59ef1842e7db9
        source rpm(s):
        ftp://ftp.suse.com/pub/suse/i386/update/9.2/rpm/src/mailman-2.1.5-5.6.src.rpm
          df7d92ece2ea37cfb628b258be127b44

        SUSE Linux 9.1:
        ftp://ftp.suse.com/pub/suse/i386/update/9.1/rpm/i586/mailman-2.1.4-83.13.i586.rpm
          9ee909db5738e5a9d2cbe8642b36df2e
        patch rpm(s):
        ftp://ftp.suse.com/pub/suse/i386/update/9.1/rpm/i586/mailman-2.1.4-83.13.i586.patch.rpm
          e549d97d81eea96155d2de124c8f2be7
        source rpm(s):
        ftp://ftp.suse.com/pub/suse/i386/update/9.1/rpm/src/mailman-2.1.4-83.13.src.rpm
          33964c2c5fe71a65a04e62f12b295775

        SUSE Linux 9.0:
        ftp://ftp.suse.com/pub/suse/i386/update/9.0/rpm/i586/mailman-2.1.2-93.i586.rpm
          41b55c17abb0021bd9da56c5684ec0ad
        patch rpm(s):
        ftp://ftp.suse.com/pub/suse/i386/update/9.0/rpm/i586/mailman-2.1.2-93.i586.patch.rpm
          fc20d3fdfc0463c02809bce81ba46a8c
        source rpm(s):
        ftp://ftp.suse.com/pub/suse/i386/update/9.0/rpm/src/mailman-2.1.2-93.src.rpm
          3c6b3c25093c3ccf8d385a7b1e86fdb6

        SUSE Linux 8.2:
        ftp://ftp.suse.com/pub/suse/i386/update/8.2/rpm/i586/mailman-2.1.1-110.i586.rpm
          b5ee2af05bc7037e6d3e66988b9789b9
        patch rpm(s):
        ftp://ftp.suse.com/pub/suse/i386/update/8.2/rpm/i586/mailman-2.1.1-110.i586.patch.rpm
          c198e0a9bfb3c7bc828b1f6173834407
        source rpm(s):
        ftp://ftp.suse.com/pub/suse/i386/update/8.2/rpm/src/mailman-2.1.1-110.src.rpm
          e42568b562cccb8d572b5782a3fa2f09

        x86-64 Platform:

        SUSE Linux 9.2:
        ftp://ftp.suse.com/pub/suse/x86_64/update/9.2/rpm/x86_64/mailman-2.1.5-5.6.x86_64.rpm
          ab82f4faac15b4b0cf635937b1cc2ab5
        patch rpm(s):
        ftp://ftp.suse.com/pub/suse/x86_64/update/9.2/rpm/x86_64/mailman-2.1.5-5.6.x86_64.patch.rpm
          074305e1baa53bfe6959293100dc8682
        source rpm(s):
        ftp://ftp.suse.com/pub/suse/x86_64/update/9.2/rpm/src/mailman-2.1.5-5.6.src.rpm
          df7d92ece2ea37cfb628b258be127b44

        SUSE Linux 9.1:
        ftp://ftp.suse.com/pub/suse/x86_64/update/9.1/rpm/x86_64/mailman-2.1.4-83.13.x86_64.rpm
          ab93f0276b9cc701224eb16c2404a7e9
        patch rpm(s):
        ftp://ftp.suse.com/pub/suse/x86_64/update/9.1/rpm/x86_64/mailman-2.1.4-83.13.x86_64.patch.rpm
          8dd9e3317ef89e3e2e8a184c02aacfbc
        source rpm(s):
        ftp://ftp.suse.com/pub/suse/x86_64/update/9.1/rpm/src/mailman-2.1.4-83.13.src.rpm
          62e6d965c15d9795ddcda560a6f2264f

        SUSE Linux 9.0:
        ftp://ftp.suse.com/pub/suse/x86_64/update/9.0/rpm/x86_64/mailman-2.1.2-93.x86_64.rpm
          594f24a7c84defef412b517a4994ee88
        patch rpm(s):
        ftp://ftp.suse.com/pub/suse/x86_64/update/9.0/rpm/x86_64/mailman-2.1.2-93.x86_64.patch.rpm
          187da073862f34b011bda55894e9b74d
        source rpm(s):
        ftp://ftp.suse.com/pub/suse/x86_64/update/9.0/rpm/src/mailman-2.1.2-93.src.rpm
          0672d542ab787352b9d10b71394ffcfe

    ______________________________________________________________________________

    5) Pending vulnerabilities in SUSE Distributions and Workarounds:

        See the SUSE Security Summary report.

    ______________________________________________________________________________

    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 <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 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 <file.rpm>
           to verify the signature of the package, where <file.rpm> 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-subscribe@suse.com>.

        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
                    <suse-security-announce-subscribe@suse.com>.

        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>

    - -----BEGIN PGP PUBLIC KEY BLOCK-----
    Version: GnuPG v1.0.7 (GNU/Linux)

    mQENAzbhLQQAAAEIAKAkXHe0lWRBXLpn38hMHy03F0I4Sszmoc8aaKJrhfhyMlOA
    BqvklPLE2f9UrI4Xc860gH79ZREwAgPt0pi6+SleNFLNcNFAuuHMLQOOsaMFatbz
    JR9i4m/lf6q929YROu5zB48rBAlcfTm+IBbijaEdnqpwGib45wE/Cfy6FAttBHQh
    1Kp+r/jPb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ognWF3Trhp+GYkAlQMFEDe3O8IWkDf+zvyS
    FQEBAfkD/3GG5UgJj18UhYmh1gfjIlDcPAeqMwSytEHDENmHC+vlZQ/p0mT9tPiW
    tp34io54mwr+bLPN8l6B5GJNkbGvH6M+mO7R8Lj4nHL6pyAv3PQr83WyLHcaX7It
    Klj371/4yzKV6qpz43SGRK4MacLo2rNZ/dNej7lwPCtzCcFYwqkiiEYEEBECAAYF
    AjoaQqQACgkQx1KqMrDf94ArewCfWnTUDG5gNYkmHG4bYL8fQcizyA4An2eVo/n+
    3J2KRWSOhpAMsnMxtPbBiEYEExECAAYFAkGJG+YACgkQGsiRhDTRlzm8CQCg14Wz
    vg6j45e/r1oyt9EaHhleSacAnA+2dArk1I3xt49Z5rdnhqheF//9mQGiBDnu9IER
    BACT8Y35+2vv4MGVKiLEMOl9GdST6MCkYS3yEKeueNWc+z/0Kvff4JctBsgs47tj
    miI9sl0eHjm3gTR8rItXMN6sJEUHWzDP+Y0PFPboMvKx0FXl/A0dM+HFrruCgBlW
    t6FA+okRySQiliuI5phwqkXefl9AhkwR8xocQSVCFxcwvwCglVcOQliHu8jwRQHx
    lRE0tkwQQI0D+wfQwKdvhDplxHJ5nf7U8c/yE/vdvpN6lF0tmFrKXBUX+K7u4ifr
    ZlQvj/81M4INjtXreqDiJtr99Rs6xa0ScZqITuZC4CWxJa9GynBED3+D2t1V/f8l
    0smsuYoFOF7Ib49IkTdbtwAThlZp8bEhELBeGaPdNCcmfZ66rKUdG5sRA/9ovnc1
    krSQF2+sqB9/o7w5/q2qiyzwOSTnkjtBUVKn4zLUOf6aeBAoV6NMCC3Kj9aZHfA+
    ND0ehPaVGJgjaVNFhPi4x0e7BULdvgOoAqajLfvkURHAeSsxXIoEmyW/xC1sBbDk
    DUIBSx5oej73XCZgnj/inphRqGpsb+1nKFvF+rQoU3VTRSBQYWNrYWdlIFNpZ25p
    bmcgS2V5IDxidWlsZEBzdXNlLmRlPohcBBMRAgAcBQI57vSBBQkDwmcABAsKAwQD
    FQMCAxYCAQIXgAAKCRCoTtronIAKyl8sAJ98BgD40zw0GHJHIf6dNfnwI2PAsgCg
    jH1+PnYEl7TFjtZsqhezX7vZvYCIRgQQEQIABgUCOnBeUgAKCRCeQOMQAAqrpNzO
    AKCL512FZvv4VZx94TpbA9lxyoAejACeOO1HIbActAevk5MUBhNeLZa/qM2JARUD
    BRA6cGBvd7LmAD0l09kBATWnB/9An5vfiUUE1VQnt+T/EYklES3tXXaJJp9pHMa4
    fzFa8jPVtv5UBHGee3XoUNDVwM2OgSEISZxbzdXGnqIlcT08TzBUD9i579uifklL
    snr35SJDZ6ram51/CWOnnaVhUzneOA9gTPSr+/fT3WeVnwJiQCQ30kNLWVXWATMn
    snT486eAOlT6UNBPYQLpUprF5Yryk23pQUPAgJENDEqeU6iIO9Ot1ZPtB0lniw+/
    xCi13D360o1tZDYOp0hHHJN3D3EN8C1yPqZd5CvvznYvB6bWBIpWcRgdn2DUVMmp
    U661jwqGlRz1F84JG/xe4jGuzgpJt9IXSzyohEJB6XG5+D0BiF0EExECAB0FAjxq
    qTQFCQoAgrMFCwcKAwQDFQMCAxYCAQIXgAAKCRCoTtronIAKyp1fAJ9dR7saz2KP
    NwD3U+fy/0BDKXrYGACfbJ8fQcJqCBQxeHvt9yMPDVq0B0W5Ag0EOe70khAIAISR
    0E3ozF/la+oNaRwxHLrCet30NgnxRROYhPaJB/Tu1FQokn2/Qld/HZnh3TwhBIw1
    FqrhWBJ7491iAjLR9uPbdWJrn+A7t8kSkPaF3Z/6kyc5a8fas44ht5h+6HMBzoFC
    MAq2aBHQRFRNp9Mz1ZvoXXcI1lk1l8OqcUM/ovXbDfPcXsUVeTPTtGzcAi2jVl9h
    l3iwJKkyv/RLmcusdsi8YunbvWGFAF5GaagYQo7YlF6UaBQnYJTM523AMgpPQtsK
    m9o/w9WdgXkgWhgkhZEeqUS3m5xNey1nLu9iMvq9M/iXnGz4sg6Q2Y+GqZ+yAvNW
    jRRou3zSE7Bzg28MI4sAAwYH/2D71Xc5HPDgu87WnBFgmp8MpSr8QnSs0wwPg3xE
    ullGEocolSb2c0ctuSyeVnCttJMzkukL9TqyF4s/6XRstWirSWawJxRLKH6Zjo/F
    aKsshYKf8gBkAaddvpl3pO0gmUYbqmpQ3xDEYlhCeieXS5MkockQ1sj2xYdB1xO0
    ExzfiCiscUKjUFy+mdzUsUutafuZ+gbHog1CN/ccZCkxcBa5IFCHORrNjq9pYWlr
    xsEn6ApsG7JJbM2besW1PkdEoxak74z1senh36m5jQvVjA3U4xq1wwylxadmmJaJ
    HzeiLfb7G1ZRjZTsB7fyYxqDzMVul6o9BSwO/1XsIAnV1uuITAQYEQIADAUCOe70
    kgUJA8JnAAAKCRCoTtronIAKyksiAJsFB3/77SkH3JlYOGrEe1Ol0JdGwACeKTtt
    geVPFB+iGJdiwQlxasOfuXyITAQYEQIADAUCPGqpWQUJCgCCxwAKCRCoTtronIAK
    yofBAKCSZM2UFyta/fe9WgITK9I5hbxxtQCfX+0ar2CZmSknn3coSPihn1+OBNw=
    =Fv2n
    - -----END PGP PUBLIC KEY BLOCK-----
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.4 (GNU/Linux)

    iQEVAwUBQhBvoHey5gA9JdPZAQFjJAf+NFnLTL27YYeQa5uU6bCbgvzHxTRk1fUR
    WT1Edn8qouFCgcFgshQCpw13twvYGuw/LF2k85FJISP0cC1EP9qfmw751d5FwiOh
    NENdiA+IO9gHeSu58Nhp9ek+yzoQ4oVacYLUmsQZ3G0K5gu2COTOd6v2K16rU9Xa
    C2rUHOT5gXguCK7GWbqhB3XnAIbsTSNyhYosZcblz1bhXzA/j0h2EwG65/IIoFlR
    R/RqK8qJqCSVTA2NeJONOiRDbGmBe2u1yT5aoAFPidoATHdhPgxZYY18+SnOaYsv
    Rlp9i9agFBtHic2szYEKq+AZRwXSt2OLLX+PwPZ68KaLkVQ51vkl5Q==
    =YHXx
    -----END PGP SIGNATURE-----
    _______________________________________________
    Full-Disclosure - We believe in it.
    Charter: http://lists.netsys.com/full-disclosure-charter.html


  • Next message: Thierry Zoller: "Re: [Full-Disclosure] The ultimate solution to phising"

    Relevant Pages