Debian: DSA-1709-1: New shadow packages fix privilege escalation

    Date21 Jan 2009
    CategoryDebian
    35
    Posted ByLinuxSecurity Advisories
    Paul Szabo discovered that login, the system login tool, did not correctly handle symlinks while setting up tty permissions. If a local attacker were able to gain control of the system utmp file, they could cause login to change the ownership and permissions on arbitrary files,
    
    - ------------------------------------------------------------------------
    Debian Security Advisory DSA-1709-1                  This email address is being protected from spambots. You need JavaScript enabled to view it.
    http://www.debian.org/security/                          Thijs Kinkhorst
    January 21, 2009                      http://www.debian.org/security/faq
    - ------------------------------------------------------------------------
    
    Package        : shadow
    Vulnerability  : race condition
    Problem type   : local
    Debian-specific: no
    CVE Id(s)      : CVE-2008-5394
    Debian Bug     : 505271
    
    Paul Szabo discovered that login, the system login tool, did not
    correctly handle symlinks while setting up tty permissions. If a local
    attacker were able to gain control of the system utmp file, they could
    cause login to change the ownership and permissions on arbitrary files,
    leading to a root privilege escalation.
    
    For the stable distribution (etch), this problem has been fixed in
    version 4.0.18.1-7+etch1.
    
    For the unstable distribution (sid), this problem has been fixed in
    version 4.1.1-6.
    
    We recommend that you upgrade your shadow package.
    
    Upgrade instructions
    - --------------------
    
    wget url
            will fetch the file for you
    dpkg -i file.deb
            will install the referenced file.
    
    If you are using the apt-get package manager, use the line for
    sources.list as given below:
    
    apt-get update
            will update the internal database
    apt-get upgrade
            will install corrected packages
    
    You may use an automated update by adding the resources from the
    footer to the proper configuration.
    
    
    Debian GNU/Linux 4.0 alias etch
    - -------------------------------
    
    Source archives:
    
      http://security.debian.org/pool/updates/main/s/shadow/shadow_4.0.18.1.orig.tar.gz
        Size/MD5 checksum:  2354234 3f54eaa3a35e7c559f4def92e9957581
      http://security.debian.org/pool/updates/main/s/shadow/shadow_4.0.18.1-7+etch1.diff.gz
        Size/MD5 checksum:   297817 b78d9d738765da65a6b55dea102569c3
      http://security.debian.org/pool/updates/main/s/shadow/shadow_4.0.18.1-7+etch1.dsc
        Size/MD5 checksum:     1406 ec01ac54e482ea552fdae5753d6c1745
    
    alpha architecture (DEC Alpha)
    
      http://security.debian.org/pool/updates/main/s/shadow/login_4.0.18.1-7+etch1_alpha.deb
        Size/MD5 checksum:   810680 329e1cd5ad019d3984411b1a8a5c77ad
      http://security.debian.org/pool/updates/main/s/shadow/passwd_4.0.18.1-7+etch1_alpha.deb
        Size/MD5 checksum:   943992 76690a44c565b4594892bab69eaf7e30
    
    amd64 architecture (AMD x86_64 (AMD64))
    
      http://security.debian.org/pool/updates/main/s/shadow/passwd_4.0.18.1-7+etch1_amd64.deb
        Size/MD5 checksum:   867696 4ce4e2f7884cd883729123163930b9dc
      http://security.debian.org/pool/updates/main/s/shadow/login_4.0.18.1-7+etch1_amd64.deb
        Size/MD5 checksum:   806412 3a6171d83a4b79846fe4831b02007a4b
    
    arm architecture (ARM)
    
      http://security.debian.org/pool/updates/main/s/shadow/passwd_4.0.18.1-7+etch1_arm.deb
        Size/MD5 checksum:   778766 df6126b8cd29de54831976a24d28589e
      http://security.debian.org/pool/updates/main/s/shadow/login_4.0.18.1-7+etch1_arm.deb
        Size/MD5 checksum:   791770 a9e7b122a8f9a7944bfc91b7cec77554
    
    hppa architecture (HP PA RISC)
    
      http://security.debian.org/pool/updates/main/s/shadow/passwd_4.0.18.1-7+etch1_hppa.deb
        Size/MD5 checksum:   847846 8562b322610062eb31689e467d80ff7c
      http://security.debian.org/pool/updates/main/s/shadow/login_4.0.18.1-7+etch1_hppa.deb
        Size/MD5 checksum:   804082 af4a3f06a93be5cea7dd7dfeed8eed1b
    
    i386 architecture (Intel ia32)
    
      http://security.debian.org/pool/updates/main/s/shadow/passwd_4.0.18.1-7+etch1_i386.deb
        Size/MD5 checksum:   792460 82c630b2f4e18217170a73a2dab27cba
      http://security.debian.org/pool/updates/main/s/shadow/login_4.0.18.1-7+etch1_i386.deb
        Size/MD5 checksum:   796578 439cd50477db064cdf11d9b48c0e9af0
    
    ia64 architecture (Intel ia64)
    
      http://security.debian.org/pool/updates/main/s/shadow/passwd_4.0.18.1-7+etch1_ia64.deb
        Size/MD5 checksum:  1048736 79434b796109c1565f0f0be3cb8d06f0
      http://security.debian.org/pool/updates/main/s/shadow/login_4.0.18.1-7+etch1_ia64.deb
        Size/MD5 checksum:   826456 13df2a0a071f407c84b25ae3ed6077bc
    
    mips architecture (MIPS (Big Endian))
    
      http://security.debian.org/pool/updates/main/s/shadow/login_4.0.18.1-7+etch1_mips.deb
        Size/MD5 checksum:   804530 0523d4220e9cb7e8b2342a0a33c1e989
      http://security.debian.org/pool/updates/main/s/shadow/passwd_4.0.18.1-7+etch1_mips.deb
        Size/MD5 checksum:   899612 597b58ea81e074bae374b412f28e1252
    
    mipsel architecture (MIPS (Little Endian))
    
      http://security.debian.org/pool/updates/main/s/shadow/passwd_4.0.18.1-7+etch1_mipsel.deb
        Size/MD5 checksum:   908860 ade3427a1b8b693a098544ac27ae17aa
      http://security.debian.org/pool/updates/main/s/shadow/login_4.0.18.1-7+etch1_mipsel.deb
        Size/MD5 checksum:   805100 fd9d9e49cd9b7864b06865c097f0ba08
    
    powerpc architecture (PowerPC)
    
      http://security.debian.org/pool/updates/main/s/shadow/login_4.0.18.1-7+etch1_powerpc.deb
        Size/MD5 checksum:   805442 c8f8683c70aabfbea99f27115afda81e
      http://security.debian.org/pool/updates/main/s/shadow/passwd_4.0.18.1-7+etch1_powerpc.deb
        Size/MD5 checksum:   856164 16db8928aa4424f57372e32b23b7de58
    
    s390 architecture (IBM S/390)
    
      http://security.debian.org/pool/updates/main/s/shadow/passwd_4.0.18.1-7+etch1_s390.deb
        Size/MD5 checksum:   820700 2cd319907d34afe08918cd5f93461f60
      http://security.debian.org/pool/updates/main/s/shadow/login_4.0.18.1-7+etch1_s390.deb
        Size/MD5 checksum:   804200 4851f0e0fa27d5786353b6235316215a
    
    sparc architecture (Sun SPARC/UltraSPARC)
    
      http://security.debian.org/pool/updates/main/s/shadow/login_4.0.18.1-7+etch1_sparc.deb
        Size/MD5 checksum:   800196 19f9b82843f53040d2083e348d0300d4
      http://security.debian.org/pool/updates/main/s/shadow/passwd_4.0.18.1-7+etch1_sparc.deb
        Size/MD5 checksum:   789552 ae637bec3b696937705a094db261e973
    
    
      These files will probably be moved into the stable distribution on
      its next update.
    
    - ---------------------------------------------------------------------------------
    For apt-get: deb http://security.debian.org/ stable/updates main
    For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
    Mailing list: This email address is being protected from spambots. You need JavaScript enabled to view it.
    Package info: `apt-cache show ' and http://packages.debian.org/
    
    You are not authorised to post comments.

    Comments powered by CComment

    LinuxSecurity Poll

    What do you think of the articles on LinuxSecurity?

    No answer selected. Please try again.
    Please select either existing option or enter your own, however not both.
    Please select minimum 0 answer(s) and maximum 3 answer(s).
    /main-polls/24-what-do-you-think-of-the-quality-of-the-articles-on-linuxsecurity?task=poll.vote&format=json
    24
    radio
    [{"id":"87","title":"Excellent, don't change a thing!","votes":"14","type":"x","order":"1","pct":53.85,"resources":[]},{"id":"88","title":"Should be more technical","votes":"4","type":"x","order":"2","pct":15.38,"resources":[]},{"id":"89","title":"Should include more HOWTOs","votes":"8","type":"x","order":"3","pct":30.77,"resources":[]}]["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"]["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"]350
    bottom200

    We use cookies to provide and improve our services. By using our site, you consent to our Cookie Policy.