--------------------------------------------------------------------------
Debian Security Advisory DSA 219-1                     security@debian.org 
Debian -- Security Information                              Martin Schulze
December 31st, 2002                      Debian -- Debian security FAQ 
--------------------------------------------------------------------------

Package        : dhcpcd
Vulnerability  : remote command execution
Problem-Type   : remote
Debian-specific: no
BugTraq Id     : 6200

Simon Kelly discovered a vulnerability in dhcpcd, an RFC2131 and
RFC1541 compliant DHCP client daemon, that runs with root privileges
on client machines.  A malicious administrator of the regular or an
untrusted DHCP server may execute any command with root privileges on
the DHCP client machine by sending the command enclosed in shell
metacharacters in one of the options provided by the DHCP server.

This problem has been fixed in version 1.3.17pl2-8.1 for the old
stable distribution (potato) and in version 1.3.22pl2-2 for the
testing (sarge) and unstable (sid) distributions.  The current stable
distribution (woody) does not contain a dhcpcd package.

We recommend that you upgrade your dhcpcd package (on the client
machine).

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:

      
      Size/MD5 checksum:      538 1c19758ca0d21405a7d5558b79873bcd
      
      Size/MD5 checksum:    12839 95c26c2d2ea5bfc820b125ce7a409036
      
      Size/MD5 checksum:   152368 c23be689d4725eca9bbc65ad3cb85049

  Alpha architecture:

      
      Size/MD5 checksum:    49666 d3e56f10c3a360dec6e32881dd29ee11

  ARM architecture:

      
      Size/MD5 checksum:    40160 54f8b2b37f203ae7df2afb1342183989

  Intel IA-32 architecture:

      
      Size/MD5 checksum:    37422 2217cc83b78e829037faebf2c66cf1c5

  Motorola 680x0 architecture:

      
      Size/MD5 checksum:    36242 5aa43b776c6609a4b12fa20ce6be08fe

  PowerPC architecture:

      
      Size/MD5 checksum:    39432 53a3ab3c9ca17f562c7d9280c0ae7e56

  Sun Sparc architecture:

      
      Size/MD5 checksum:    41544 084cc56b2d43ab9c79ac075cef8d9f84


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

---------------------------------------------------------------------------------
For apt-get: deb  Debian -- Security Information  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: dhcpcd remote command execution vulnerability

December 31, 2002
A malicious administrator of the regular or an untrusted DHCP server may execute any command with root privileges on the DHCP client machine by sending the command enclosed in shel...

Summary

Simon Kelly discovered a vulnerability in dhcpcd, an RFC2131 and
RFC1541 compliant DHCP client daemon, that runs with root privileges
on client machines. A malicious administrator of the regular or an
untrusted DHCP server may execute any command with root privileges on
the DHCP client machine by sending the command enclosed in shell
metacharacters in one of the options provided by the DHCP server.

This problem has been fixed in version 1.3.17pl2-8.1 for the old
stable distribution (potato) and in version 1.3.22pl2-2 for the
testing (sarge) and unstable (sid) distributions. The current stable
distribution (woody) does not contain a dhcpcd package.

We recommend that you upgrade your dhcpcd package (on the client
machine).

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:


Size/MD5 checksum: 538 1c19758ca0d21405a7d5558b79873bcd

Size/MD5 checksum: 12839 95c26c2d2ea5bfc820b125ce7a409036

Size/MD5 checksum: 152368 c23be689d4725eca9bbc65ad3cb85049

Alpha architecture:


Size/MD5 checksum: 49666 d3e56f10c3a360dec6e32881dd29ee11

ARM architecture:


Size/MD5 checksum: 40160 54f8b2b37f203ae7df2afb1342183989

Intel IA-32 architecture:


Size/MD5 checksum: 37422 2217cc83b78e829037faebf2c66cf1c5

Motorola 680x0 architecture:


Size/MD5 checksum: 36242 5aa43b776c6609a4b12fa20ce6be08fe

PowerPC architecture:


Size/MD5 checksum: 39432 53a3ab3c9ca17f562c7d9280c0ae7e56

Sun Sparc architecture:


Size/MD5 checksum: 41544 084cc56b2d43ab9c79ac075cef8d9f84


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

Severity
Package : dhcpcd
Vulnerability : remote command execution
Problem-Type : remote
Debian-specific: no
BugTraq Id : 6200

Related News