Debian: 'sudo' Local privilege escalation
Posted by LinuxSecurity.com Team   
Debian Attackers may trick "sudo" to log failed sudo invocations executing the sendmail program with root-privileges and not completely cleaned environment.

--------------------------------------------------------------------------
Debian Security Advisory DSA 101-1                     security@debian.org 
http://www.debian.org/security/                             Martin Schulze
January 14th, 2002
--------------------------------------------------------------------------

Package        : sudo
Vulnerability  : Root exploit
Problem-Type   : local
Debian-specific: no

Sebastian Krahmer from SuSE found a vulnerability in sudo which could
easily lead into a local root exploit.

This problem has been fixed in upstream version 1.6.4 as well as in
version 1.6.2p2-2.1 for the stable release of Debian GNU/Linux.

We recommend that you upgrade your sudo packages immediately.

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 2.2 alias potato
------------------------------------

  Source archives:

     http://security.debian.org/dists/stable/updates/main/source/sudo_1.6.2p2-2.1.dsc
      MD5 checksum: b05ab1661adadf4b709383290e26a737
     http://security.debian.org/dists/stable/updates/main/source/sudo_1.6.2p2-2.1.diff.gz
      MD5 checksum: fc5fbac82937b905f6dff443c5e66def
     http://security.debian.org/dists/stable/updates/main/source/sudo_1.6.2p2.orig.tar.gz
      MD5 checksum: dd5944c880fd5cc56bc0f0199e92d2b4

  Alpha architecture:

     
http://security.debian.org/dists/stable/updates/main/binary-alpha/sudo_1.6.2p2-2.1_alpha.deb
      MD5 checksum: c8c85190180fd2bfad1c773543724a54

  ARM architecture:

     http://security.debian.org/dists/stable/updates/main/binary-arm/sudo_1.6.2p2-2.1_arm.deb
      MD5 checksum: 3c6dedbe1d5ae3577ff8e2098266e3fa

  Intel ia32 architecture:

     http://security.debian.org/dists/stable/updates/main/binary-i386/sudo_1.6.2p2-2.1_i386.deb
      MD5 checksum: 793c815263a64e63108628ed31537dfe

  Motorola 680x0 architecture:

     http://security.debian.org/dists/stable/updates/main/binary-m68k/sudo_1.6.2p2-2.1_m68k.deb
      MD5 checksum: ccb48bfdc802fa3bd42aa6c3651b8519

  PowerPC architecture:

     
http://security.debian.org/dists/stable/updates/main/binary-powerpc/sudo_1.6.2p2-2.1_powerpc.deb
      MD5 checksum: 339656a46a91c9f7133cdc2f8064c672

  Sun Sparc architecture:

     
http://security.debian.org/dists/stable/updates/main/binary-sparc/sudo_1.6.2p2-2.1_sparc.deb
      MD5 checksum: 04e085d331642e8d63fc95acfa85ae76


  These files will probably be moved into the stable distribution on
  its next revision.

---------------------------------------------------------------------------------
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 ' and  http://packages.debian.org/