- ------------------------------------------------------------------------
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:

      Size/MD5 checksum:  2354234 3f54eaa3a35e7c559f4def92e9957581
      Size/MD5 checksum:   297817 b78d9d738765da65a6b55dea102569c3
      Size/MD5 checksum:     1406 ec01ac54e482ea552fdae5753d6c1745

alpha architecture (DEC Alpha)

      Size/MD5 checksum:   810680 329e1cd5ad019d3984411b1a8a5c77ad
      Size/MD5 checksum:   943992 76690a44c565b4594892bab69eaf7e30

amd64 architecture (AMD x86_64 (AMD64))

      Size/MD5 checksum:   867696 4ce4e2f7884cd883729123163930b9dc
      Size/MD5 checksum:   806412 3a6171d83a4b79846fe4831b02007a4b

arm architecture (ARM)

      Size/MD5 checksum:   778766 df6126b8cd29de54831976a24d28589e
      Size/MD5 checksum:   791770 a9e7b122a8f9a7944bfc91b7cec77554

hppa architecture (HP PA RISC)

      Size/MD5 checksum:   847846 8562b322610062eb31689e467d80ff7c
      Size/MD5 checksum:   804082 af4a3f06a93be5cea7dd7dfeed8eed1b

i386 architecture (Intel ia32)

      Size/MD5 checksum:   792460 82c630b2f4e18217170a73a2dab27cba
      Size/MD5 checksum:   796578 439cd50477db064cdf11d9b48c0e9af0

ia64 architecture (Intel ia64)

      Size/MD5 checksum:  1048736 79434b796109c1565f0f0be3cb8d06f0
      Size/MD5 checksum:   826456 13df2a0a071f407c84b25ae3ed6077bc

mips architecture (MIPS (Big Endian))

      Size/MD5 checksum:   804530 0523d4220e9cb7e8b2342a0a33c1e989
      Size/MD5 checksum:   899612 597b58ea81e074bae374b412f28e1252

mipsel architecture (MIPS (Little Endian))

      Size/MD5 checksum:   908860 ade3427a1b8b693a098544ac27ae17aa
      Size/MD5 checksum:   805100 fd9d9e49cd9b7864b06865c097f0ba08

powerpc architecture (PowerPC)

      Size/MD5 checksum:   805442 c8f8683c70aabfbea99f27115afda81e
      Size/MD5 checksum:   856164 16db8928aa4424f57372e32b23b7de58

s390 architecture (IBM S/390)

      Size/MD5 checksum:   820700 2cd319907d34afe08918cd5f93461f60
      Size/MD5 checksum:   804200 4851f0e0fa27d5786353b6235316215a

sparc architecture (Sun SPARC/UltraSPARC)

      Size/MD5 checksum:   800196 19f9b82843f53040d2083e348d0300d4
      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:  dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
Package info: `apt-cache show ' and http://packages.debian.org/

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

January 21, 2009
Paul Szabo discovered that login, the system login tool, did not correctly handle symlinks while setting up tty permissions

Summary

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:

Size/MD5 checksum: 2354234 3f54eaa3a35e7c559f4def92e9957581
Size/MD5 checksum: 297817 b78d9d738765da65a6b55dea102569c3
Size/MD5 checksum: 1406 ec01ac54e482ea552fdae5753d6c1745

alpha architecture (DEC Alpha)

Size/MD5 checksum: 810680 329e1cd5ad019d3984411b1a8a5c77ad
Size/MD5 checksum: 943992 76690a44c565b4594892bab69eaf7e30

amd64 architecture (AMD x86_64 (AMD64))

Size/MD5 checksum: 867696 4ce4e2f7884cd883729123163930b9dc
Size/MD5 checksum: 806412 3a6171d83a4b79846fe4831b02007a4b

arm architecture (ARM)

Size/MD5 checksum: 778766 df6126b8cd29de54831976a24d28589e
Size/MD5 checksum: 791770 a9e7b122a8f9a7944bfc91b7cec77554

hppa architecture (HP PA RISC)

Size/MD5 checksum: 847846 8562b322610062eb31689e467d80ff7c
Size/MD5 checksum: 804082 af4a3f06a93be5cea7dd7dfeed8eed1b

i386 architecture (Intel ia32)

Size/MD5 checksum: 792460 82c630b2f4e18217170a73a2dab27cba
Size/MD5 checksum: 796578 439cd50477db064cdf11d9b48c0e9af0

ia64 architecture (Intel ia64)

Size/MD5 checksum: 1048736 79434b796109c1565f0f0be3cb8d06f0
Size/MD5 checksum: 826456 13df2a0a071f407c84b25ae3ed6077bc

mips architecture (MIPS (Big Endian))

Size/MD5 checksum: 804530 0523d4220e9cb7e8b2342a0a33c1e989
Size/MD5 checksum: 899612 597b58ea81e074bae374b412f28e1252

mipsel architecture (MIPS (Little Endian))

Size/MD5 checksum: 908860 ade3427a1b8b693a098544ac27ae17aa
Size/MD5 checksum: 805100 fd9d9e49cd9b7864b06865c097f0ba08

powerpc architecture (PowerPC)

Size/MD5 checksum: 805442 c8f8683c70aabfbea99f27115afda81e
Size/MD5 checksum: 856164 16db8928aa4424f57372e32b23b7de58

s390 architecture (IBM S/390)

Size/MD5 checksum: 820700 2cd319907d34afe08918cd5f93461f60
Size/MD5 checksum: 804200 4851f0e0fa27d5786353b6235316215a

sparc architecture (Sun SPARC/UltraSPARC)

Size/MD5 checksum: 800196 19f9b82843f53040d2083e348d0300d4
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: dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
Package info: `apt-cache show ' and http://packages.debian.org/

Severity
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.

Related News