----------------------------------------------------------------------------
Debian Security Advisory DSA 080-1                       security@debian.org 
Debian -- Security Information                                Martin Schulze
October 17th, 2001
----------------------------------------------------------------------------

Package        : htdig
Vulnerability  : unauthorized gathering of data
Problem-Type   : remote DoS, local information retrieval
Debian-specific: no

Nergal reported a vulnerability in the htsearch program which is
distributed as part of the ht://Dig package, a indexing and searching
system for small domains or intranets.  Using former versions it was
able to pass the parameter `-c' to the cgi program in order to use a
different configuration file.

A malicious user could point htsearch to a file like `/dev/zero' and
let the server run in an endless loop, trying to read config
parameters.  If the user has write permission on the server he can
point the program to it and retrive any file readable by the webserver
user id.

This problem has been fixed in version of 3.1.5-2.1 for Debian
GNU/Linux 2.2.

We recommend that you upgrade your htdig package 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:

      
      MD5 checksum: 4ad4dc342e31db65127cc58a8063f025
      
      MD5 checksum: e59bfe00133e97ae7f071d3a8510eb35
      
      MD5 checksum: cbf4a0f2b703d9822db555a14dc96ed3

  Architecture independent components:

      
      MD5 checksum: 6c5c94f56ce3e02018864439bb24ac18

  Alpha architecture:

      
      MD5 checksum: 412501d347af74566b170f5e485216c4

  ARM architecture:

      
      MD5 checksum: 35e60b98022364b61be3d3c23b300782

  Intel ia32 architecture:

      
      MD5 checksum: 77befd19641a294cb0a47b72aa15e91c

  Motorola 680x0 architecture:

      
      MD5 checksum: 5dc1c696e9dcc86af834546201efec79

  PowerPC architecture:

      
      MD5 checksum: 30a2cd56b561cf481bf4cdc595cda7ad

  Sun Sparc architecture:

      
      MD5 checksum: ce101a18a7af6e6dde43bf2c0ec330b1


  These files will 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: 'htdig' unauthorized gathering of data

October 17, 2001
Using former versions of ht://Dig it was able to pass the parameter `-c' to the cgi program in order to use a different configuration file.

Summary

Nergal reported a vulnerability in the htsearch program which is
distributed as part of the ht://Dig package, a indexing and searching
system for small domains or intranets. Using former versions it was
able to pass the parameter `-c' to the cgi program in order to use a
different configuration file.

A malicious user could point htsearch to a file like `/dev/zero' and
let the server run in an endless loop, trying to read config
parameters. If the user has write permission on the server he can
point the program to it and retrive any file readable by the webserver
user id.

This problem has been fixed in version of 3.1.5-2.1 for Debian
GNU/Linux 2.2.

We recommend that you upgrade your htdig package 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:


MD5 checksum: 4ad4dc342e31db65127cc58a8063f025

MD5 checksum: e59bfe00133e97ae7f071d3a8510eb35

MD5 checksum: cbf4a0f2b703d9822db555a14dc96ed3

Architecture independent components:


MD5 checksum: 6c5c94f56ce3e02018864439bb24ac18

Alpha architecture:


MD5 checksum: 412501d347af74566b170f5e485216c4

ARM architecture:


MD5 checksum: 35e60b98022364b61be3d3c23b300782

Intel ia32 architecture:


MD5 checksum: 77befd19641a294cb0a47b72aa15e91c

Motorola 680x0 architecture:


MD5 checksum: 5dc1c696e9dcc86af834546201efec79

PowerPC architecture:


MD5 checksum: 30a2cd56b561cf481bf4cdc595cda7ad

Sun Sparc architecture:


MD5 checksum: ce101a18a7af6e6dde43bf2c0ec330b1


These files will 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 : htdig
Vulnerability : unauthorized gathering of data
Problem-Type : remote DoS, local information retrieval
Debian-specific: no

Related News