Articles / Debian: New thttpd packages…

Debian: New thttpd packages fix information leak, DoS and arbitrary code execution

Several vulnerabilities have been discovered in thttpd, a tiny HTTP server. Marcus Breiing discovered that if thttpd it is used for virtual hosting, and an attacker supplies a specially crafted ``Host:'' header with a pathname instead of a hostname, thttpd will reveal information about the host system. Hence, an attacker can browse the entire disk. Joel Soderberg and Christer Oberg discovered a remote overflow which allows an attacker to partially overwrite the EBP register and hencely execute arbitrary code. Fixed packages are available from security.debian.org.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- --------------------------------------------------------------------------
Debian Security Advisory DSA 396-1                     security@debian.org
http://www.debian.org/security/                             Martin Schulze
October 29th, 2003                      http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package        : thttpd
Vulnerability  : missing input sanitizing, wrong calculation
Problem-Type   : remote
Debian-specific: no
CVE Id         : CAN-2002-1562 CAN-2003-0899

Several vulnerabilities have been discovered in thttpd, a tiny HTTP
server.

The Common Vulnerabilities and Exposures project identifies the
following vulnerabilities:

CAN-2002-1562: Information leak

  Marcus Breiing discovered that if thttpd it is used for virtual
  hosting, and an attacker supplies a specially crafted ``Host:''
  header with a pathname instead of a hostname, thttpd will reveal
  information about the host system.  Hence, an attacker can browse
  the entire disk.

CAN-2003-0899: Arbitrary code execution

  Joel Soderberg and Christer Oberg discovered a remote overflow which
  allows an attacker to partially overwrite the EBP register and
  hencely execute arbitrary code.

For the stable distribution (woody) these problems have been fixed in
version 2.21b-11.2.

For the unstable distribution (sid) this problem has been fixed in
version 2.23beta1-2.3.

We recommend that you upgrade your thttpd package immediately.


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 3.0 alias woody
- --------------------------------

  Source archives:

    http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.21b-11.2.dsc
      Size/MD5 checksum:      545 8a1acb90e6094f3fa72c6845c3053041
    http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.21b-11.2.diff.gz
      Size/MD5 checksum:    12319 2ac5366cf965d9fc492265d095c108a8
    http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.21b.orig.tar.gz
      Size/MD5 checksum:   127157 9c1512664cf70c286331243ab622173e

  Alpha architecture:

    http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.21b-11.2_alpha.deb
      Size/MD5 checksum:    67512 4b98098b019e2b8d0b1ce1e9aeb617ec
    http://security.debian.org/pool/updates/main/t/thttpd/thttpd-util_2.21b-11.2_alpha.deb
      Size/MD5 checksum:    27794 9edd14ad49dad106626771543c106937

  ARM architecture:

    http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.21b-11.2_arm.deb
      Size/MD5 checksum:    54182 c191681665f0af7df0ee90136b3365ff
    http://security.debian.org/pool/updates/main/t/thttpd/thttpd-util_2.21b-11.2_arm.deb
      Size/MD5 checksum:    23212 2103ca75c4ea13b97e5744d89949fe37

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.21b-11.2_i386.deb
      Size/MD5 checksum:    51914 d699b326d3ebc75476cafe31e91e45ec
    http://security.debian.org/pool/updates/main/t/thttpd/thttpd-util_2.21b-11.2_i386.deb
      Size/MD5 checksum:    23570 157936de6bd22736b0aa63e2224d65ba

  Intel IA-64 architecture:

    http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.21b-11.2_ia64.deb
      Size/MD5 checksum:    77950 cc5e735539ad1c550b9af17c2388bc83
    http://security.debian.org/pool/updates/main/t/thttpd/thttpd-util_2.21b-11.2_ia64.deb
      Size/MD5 checksum:    29562 954eaaa5f8c824cba7725921f65a3331

  HP Precision architecture:

    http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.21b-11.2_hppa.deb
      Size/MD5 checksum:    59116 7f77611819d41bf76d5f835d970f3ed8
    http://security.debian.org/pool/updates/main/t/thttpd/thttpd-util_2.21b-11.2_hppa.deb
      Size/MD5 checksum:    25448 cd644f20dcc58dfca543600a74dc95c8

  Motorola 680x0 architecture:

    http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.21b-11.2_m68k.deb
      Size/MD5 checksum:    49552 72cca53687444bef03134030c6662511
    http://security.debian.org/pool/updates/main/t/thttpd/thttpd-util_2.21b-11.2_m68k.deb
      Size/MD5 checksum:    23220 5677cb4faf6d7b586ba1268c2e35e65c

  Big endian MIPS architecture:

    http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.21b-11.2_mips.deb
      Size/MD5 checksum:    58236 446d260842da0922cba728e2df11b56b
    http://security.debian.org/pool/updates/main/t/thttpd/thttpd-util_2.21b-11.2_mips.deb
      Size/MD5 checksum:    24516 da2230823d6337e7665254f9700c02b8

  Little endian MIPS architecture:

    http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.21b-11.2_mipsel.deb
      Size/MD5 checksum:    58334 04df64db72249b74039f26e23f384f62
    http://security.debian.org/pool/updates/main/t/thttpd/thttpd-util_2.21b-11.2_mipsel.deb
      Size/MD5 checksum:    24598 451b2c66266919a2a45740336e157518

  PowerPC architecture:

    http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.21b-11.2_powerpc.deb
      Size/MD5 checksum:    56474 37163f189b04526056738e72514e0870
    http://security.debian.org/pool/updates/main/t/thttpd/thttpd-util_2.21b-11.2_powerpc.deb
      Size/MD5 checksum:    23836 fac814ed369bd38e7294d7190a8aad8a

  IBM S/390 architecture:

    http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.21b-11.2_s390.deb
      Size/MD5 checksum:    54658 b05a18adb9af89e183846135ea272b2e
    http://security.debian.org/pool/updates/main/t/thttpd/thttpd-util_2.21b-11.2_s390.deb
      Size/MD5 checksum:    24392 ea2d972ab7dc89df2c232c71c246bf30

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.21b-11.2_sparc.deb
      Size/MD5 checksum:    58226 5505dc14188fcd27a6ec7fee1f482a78
    http://security.debian.org/pool/updates/main/t/thttpd/thttpd-util_2.21b-11.2_sparc.deb
      Size/MD5 checksum:    29954 85b41622907ece7edfc7d10f78a83946


  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/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/n3OIW5ql+IAeqTIRAmtjAJ9r7EcVvvnn4kSQdisgaWyscBKIsQCfX2go
kFGT8rTtoxQOb2QEkFTjego=
=eFa5
-----END PGP SIGNATURE-----
Screenshot

Project Spotlight

Kigo Video Converter Ultimate for Mac

A tool for converting and editing videos.

Screenshot

Project Spotlight

Kid3

An efficient tagger for MP3, Ogg/Vorbis, and FLAC files.