Debian DSA-080-1 : htdig - unauthorized gathering of data

medium Nessus Plugin ID 14917

Synopsis

The remote Debian host is missing a security-related update.

Description

Nergal reported a vulnerability in the htsearch program which is distributed as part of the ht://Dig package, an 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 they can point the program to it and retrieve any file readable by the webserver user id.

Solution

Upgrade the htdig package immediately.

This problem has been fixed in version 3.1.5-2.0potato.1 for Debian GNU/Linux 2.2.

See Also

http://www.nessus.org/u?8db54e57

http://www.debian.org/security/2001/dsa-080

Plugin Details

Severity: Medium

ID: 14917

File Name: debian_DSA-080.nasl

Version: 1.17

Type: local

Agent: unix

Published: 9/29/2004

Updated: 1/4/2021

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.5

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:P

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:htdig, cpe:/o:debian:debian_linux:2.2

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Patch Publication Date: 10/17/2001

Vulnerability Publication Date: 9/3/2001

Reference Information

CVE: CVE-2001-0834

DSA: 080