- --------------------------------------------------------------------------
Debian Security Advisory DSA 396-1                     security@debian.org 
Debian -- Security Information                              Martin Schulze
October 29th, 2003                       Debian -- Debian 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:

      
      Size/MD5 checksum:      545 8a1acb90e6094f3fa72c6845c3053041
      
      Size/MD5 checksum:    12319 2ac5366cf965d9fc492265d095c108a8
      
      Size/MD5 checksum:   127157 9c1512664cf70c286331243ab622173e

  Alpha architecture:

      
      Size/MD5 checksum:    67512 4b98098b019e2b8d0b1ce1e9aeb617ec
      
      Size/MD5 checksum:    27794 9edd14ad49dad106626771543c106937

  ARM architecture:

      
      Size/MD5 checksum:    54182 c191681665f0af7df0ee90136b3365ff
      
      Size/MD5 checksum:    23212 2103ca75c4ea13b97e5744d89949fe37

  Intel IA-32 architecture:

      
      Size/MD5 checksum:    51914 d699b326d3ebc75476cafe31e91e45ec
      
      Size/MD5 checksum:    23570 157936de6bd22736b0aa63e2224d65ba

  Intel IA-64 architecture:

      
      Size/MD5 checksum:    77950 cc5e735539ad1c550b9af17c2388bc83
      
      Size/MD5 checksum:    29562 954eaaa5f8c824cba7725921f65a3331

  HP Precision architecture:

      
      Size/MD5 checksum:    59116 7f77611819d41bf76d5f835d970f3ed8
      
      Size/MD5 checksum:    25448 cd644f20dcc58dfca543600a74dc95c8

  Motorola 680x0 architecture:

      
      Size/MD5 checksum:    49552 72cca53687444bef03134030c6662511
      
      Size/MD5 checksum:    23220 5677cb4faf6d7b586ba1268c2e35e65c

  Big endian MIPS architecture:

      
      Size/MD5 checksum:    58236 446d260842da0922cba728e2df11b56b
      
      Size/MD5 checksum:    24516 da2230823d6337e7665254f9700c02b8

  Little endian MIPS architecture:

      
      Size/MD5 checksum:    58334 04df64db72249b74039f26e23f384f62
      
      Size/MD5 checksum:    24598 451b2c66266919a2a45740336e157518

  PowerPC architecture:

      
      Size/MD5 checksum:    56474 37163f189b04526056738e72514e0870
      
      Size/MD5 checksum:    23836 fac814ed369bd38e7294d7190a8aad8a

  IBM S/390 architecture:

      
      Size/MD5 checksum:    54658 b05a18adb9af89e183846135ea272b2e
      
      Size/MD5 checksum:    24392 ea2d972ab7dc89df2c232c71c246bf30

  Sun Sparc architecture:

      
      Size/MD5 checksum:    58226 5505dc14188fcd27a6ec7fee1f482a78
      
      Size/MD5 checksum:    29954 85b41622907ece7edfc7d10f78a83946


  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: thttpd Multiple vulnerabilities

October 29, 2003
An information leak and an arbitrary code execution vulnerability have been fixed.

Summary

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:


Size/MD5 checksum: 545 8a1acb90e6094f3fa72c6845c3053041

Size/MD5 checksum: 12319 2ac5366cf965d9fc492265d095c108a8

Size/MD5 checksum: 127157 9c1512664cf70c286331243ab622173e

Alpha architecture:


Size/MD5 checksum: 67512 4b98098b019e2b8d0b1ce1e9aeb617ec

Size/MD5 checksum: 27794 9edd14ad49dad106626771543c106937

ARM architecture:


Size/MD5 checksum: 54182 c191681665f0af7df0ee90136b3365ff

Size/MD5 checksum: 23212 2103ca75c4ea13b97e5744d89949fe37

Intel IA-32 architecture:


Size/MD5 checksum: 51914 d699b326d3ebc75476cafe31e91e45ec

Size/MD5 checksum: 23570 157936de6bd22736b0aa63e2224d65ba

Intel IA-64 architecture:


Size/MD5 checksum: 77950 cc5e735539ad1c550b9af17c2388bc83

Size/MD5 checksum: 29562 954eaaa5f8c824cba7725921f65a3331

HP Precision architecture:


Size/MD5 checksum: 59116 7f77611819d41bf76d5f835d970f3ed8

Size/MD5 checksum: 25448 cd644f20dcc58dfca543600a74dc95c8

Motorola 680x0 architecture:


Size/MD5 checksum: 49552 72cca53687444bef03134030c6662511

Size/MD5 checksum: 23220 5677cb4faf6d7b586ba1268c2e35e65c

Big endian MIPS architecture:


Size/MD5 checksum: 58236 446d260842da0922cba728e2df11b56b

Size/MD5 checksum: 24516 da2230823d6337e7665254f9700c02b8

Little endian MIPS architecture:


Size/MD5 checksum: 58334 04df64db72249b74039f26e23f384f62

Size/MD5 checksum: 24598 451b2c66266919a2a45740336e157518

PowerPC architecture:


Size/MD5 checksum: 56474 37163f189b04526056738e72514e0870

Size/MD5 checksum: 23836 fac814ed369bd38e7294d7190a8aad8a

IBM S/390 architecture:


Size/MD5 checksum: 54658 b05a18adb9af89e183846135ea272b2e

Size/MD5 checksum: 24392 ea2d972ab7dc89df2c232c71c246bf30

Sun Sparc architecture:


Size/MD5 checksum: 58226 5505dc14188fcd27a6ec7fee1f482a78

Size/MD5 checksum: 29954 85b41622907ece7edfc7d10f78a83946


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/





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

Related News