Linux Security
Linux Security
Linux Security

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

Date 21 Jan 2009
137
Posted By LinuxSecurity 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.
https://www.debian.org/security/                          Thijs Kinkhorst
January 21, 2009                      https://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:

  https://security.debian.org/pool/updates/main/s/shadow/shadow_4.0.18.1.orig.tar.gz
    Size/MD5 checksum:  2354234 3f54eaa3a35e7c559f4def92e9957581
  https://security.debian.org/pool/updates/main/s/shadow/shadow_4.0.18.1-7+etch1.diff.gz
    Size/MD5 checksum:   297817 b78d9d738765da65a6b55dea102569c3
  https://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)

  https://security.debian.org/pool/updates/main/s/shadow/login_4.0.18.1-7+etch1_alpha.deb
    Size/MD5 checksum:   810680 329e1cd5ad019d3984411b1a8a5c77ad
  https://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))

  https://security.debian.org/pool/updates/main/s/shadow/passwd_4.0.18.1-7+etch1_amd64.deb
    Size/MD5 checksum:   867696 4ce4e2f7884cd883729123163930b9dc
  https://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)

  https://security.debian.org/pool/updates/main/s/shadow/passwd_4.0.18.1-7+etch1_arm.deb
    Size/MD5 checksum:   778766 df6126b8cd29de54831976a24d28589e
  https://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)

  https://security.debian.org/pool/updates/main/s/shadow/passwd_4.0.18.1-7+etch1_hppa.deb
    Size/MD5 checksum:   847846 8562b322610062eb31689e467d80ff7c
  https://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)

  https://security.debian.org/pool/updates/main/s/shadow/passwd_4.0.18.1-7+etch1_i386.deb
    Size/MD5 checksum:   792460 82c630b2f4e18217170a73a2dab27cba
  https://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)

  https://security.debian.org/pool/updates/main/s/shadow/passwd_4.0.18.1-7+etch1_ia64.deb
    Size/MD5 checksum:  1048736 79434b796109c1565f0f0be3cb8d06f0
  https://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))

  https://security.debian.org/pool/updates/main/s/shadow/login_4.0.18.1-7+etch1_mips.deb
    Size/MD5 checksum:   804530 0523d4220e9cb7e8b2342a0a33c1e989
  https://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))

  https://security.debian.org/pool/updates/main/s/shadow/passwd_4.0.18.1-7+etch1_mipsel.deb
    Size/MD5 checksum:   908860 ade3427a1b8b693a098544ac27ae17aa
  https://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)

  https://security.debian.org/pool/updates/main/s/shadow/login_4.0.18.1-7+etch1_powerpc.deb
    Size/MD5 checksum:   805442 c8f8683c70aabfbea99f27115afda81e
  https://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)

  https://security.debian.org/pool/updates/main/s/shadow/passwd_4.0.18.1-7+etch1_s390.deb
    Size/MD5 checksum:   820700 2cd319907d34afe08918cd5f93461f60
  https://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)

  https://security.debian.org/pool/updates/main/s/shadow/login_4.0.18.1-7+etch1_sparc.deb
    Size/MD5 checksum:   800196 19f9b82843f53040d2083e348d0300d4
  https://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 https://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 https://packages.debian.org/

Advisories

LinuxSecurity Poll

How frequently do you patch/update your system?

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/52-how-frequently-do-you-patch-update-your-system?task=poll.vote&format=json
52
radio
[{"id":"179","title":"As soon as patches\/updates are released - I track advisories for my distro(s) diligently","votes":"47","type":"x","order":"1","pct":79.66,"resources":[]},{"id":"180","title":"Every so often, when I think of it","votes":"7","type":"x","order":"2","pct":11.86,"resources":[]},{"id":"181","title":"Hardly ever","votes":"5","type":"x","order":"3","pct":8.47,"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

Please vote first in order to view vote results.

VOTE ON THE POLL PAGE


VIEW MORE POLLS

bottom 200

Please enable / Bitte aktiviere JavaScript!
Veuillez activer / Por favor activa el Javascript![ ? ]

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