DSA 1709-1: New shadow packages fix privilege escalation
Posted on: 01/21/2009 12:10 PM

The Debian Security Team published a new security update for Debian GNU/Linux. Here the announcement:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- ------------------------------------------------------------------------
Debian Security Advisory DSA-1709-1 security@debian.org
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: debian-security-announce@lists.debian.org
Package info: `apt-cache show lt;pkggt;' and http://packages.debian.org/lt;pkggt;
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBSXbyFCIIoQCMVaAcAQKcrAf+JA/6guXCgfB6e8LETj+z/71HAHHxV5Ub
CXGqOD/5kCshtb4hvV5QgmDZrZRnpbgngih8/T2HKyw7BOWzmZl4TTDooeI3jq5D
czMIWeQnUW/BpjYdZ8HLt04GIu+N0DxmIMeuKvxvMCmgLTCBcxYDRZsZpCwUL0oG
2NxnimQxYjadKIfvkbRiGdatI5xA41lg9NHfswnk63niyUrH87k5vy16qpRJGuwv
wcN/O4E5xPRImjcFUYZTsOUMa8yRgEfrsxT94PWhgjhUv4TxrWH2WlSN3CHjMbaq
VEuMie74f42hZanlfz6YLxftqr4ZZSFfFENb86JqXCkPzC00uf8maw==
=4++w
-----END PGP SIGNATURE-----



Printed from Linux Compatible (http://www.linuxcompatible.org/news/story/dsa_1709_1_new_shadow_packages_fix_privilege_escalation.html)