Debian: 'cfingerd' vulnerability
Posted by LinuxSecurity.com Team   
Debian Megyer Laszlo report on Bugtraq that the cfingerd Debian as distributed with Debian GNU/Linux 2.2 was not careful in its logging code.

------------------------------------------------------------------------
Debian Security Advisory DSA-048-1                   security@debian.org 
http://www.debian.org/security/                         Wichert Akkerman
April 19, 2001
------------------------------------------------------------------------


Package        : cfingerd
Problem type   : remote printf format attack
Debian-specific: no

Megyer Laszlo report on Bugtraq that the cfingerd Debian as distributed
with Debian GNU/Linux 2.2 was not careful in its logging code. By
combining this with an off-by-one error in the code that copied the
username from an ident response cfingerd could exploited by a remote
user. Since cfingerd does not drop its root privileges until after
it has determined which user to finger an attacker can gain
root privileges.

This has been fixed in version 1.4.1-1.1, and we recommend that you
upgrade your cfingerd package immediately.

wget url
        will fetch the file for you
dpkg -i file.deb
        will install the referenced file.


Debian GNU/Linux 2.2 alias potato
---------------------------------

  Potato was released for alpha, arm, i386, m68k, powerpc and sparc.

  Source archives:
     http://security.debian.org/dists/stable/updates/main/source/cfingerd_1.4.1-1.1.diff.gz
      MD5 checksum: 9ea177fd9f986c75da499c52c15d9dbe
     http://security.debian.org/dists/stable/updates/main/source/cfingerd_1.4.1-1.1.dsc
      MD5 checksum: c9b3a1bc6bd2cb2dad3916da82df917c
     http://security.debian.org/dists/stable/updates/main/source/cfingerd_1.4.1.orig.tar.gz
      MD5 checksum: 0461179bca7bb9b00fb23c0886666cb0

  Alpha architecture:
     http://security.debian.org/dists/stable/updates/main/binary-alpha/cfingerd_1.4.1-1.1_alpha.deb
      MD5 checksum: 55eebf918692fb12bbcefb512ae9cfad

  ARM architecture:
     http://security.debian.org/dists/stable/updates/main/binary-arm/cfingerd_1.4.1-1.1_arm.deb
      MD5 checksum: 41089c6e44cd1a91beb769070720c597

  Intel ia32 architecture:
     http://security.debian.org/dists/stable/updates/main/binary-i386/cfingerd_1.4.1-1.1_i386.deb
      MD5 checksum: 6ef1f240c9ab6fa1e94143d020bd782e

  Motorola 680x0 architecture:
     http://security.debian.org/dists/stable/updates/main/binary-m68k/cfingerd_1.4.1-1.1_m68k.deb
      MD5 checksum: 670ed451481a4ade769c3128a95d20f2

  PowerPC architecture:
     http://security.debian.org/dists/stable/updates/main/binary-powerpc/cfingerd_1.4.1-1.1_powerpc.deb
      MD5 checksum: 9ca4d42c82f49974de09711f9d146c14

  Sun Sparc architecture:
     http://security.debian.org/dists/stable/updates/main/binary-sparc/cfingerd_1.4.1-1.1_sparc.deb
      MD5 checksum: 898af9044c308cc217cc9d3b0050c34e

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

For not yet released architectures please refer to the appropriate
directory  ftp://ftp.debian.org/debian/dists/sid/binary-$arch/ .

--
----------------------------------------------------------------------------
apt-get: deb  http://security.debian.org/ stable/updates main
dpkg-ftp:  ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org