GNU nscd Incorrect Hosts Cache Behavior Vulnerability

BID:4399

Info

GNU nscd Incorrect Hosts Cache Behavior Vulnerability

Bugtraq ID: 4399
Class: Design Error
CVE:
Remote: No
Local: Yes
Published: Mar 26 2002 12:00AM
Updated: Mar 26 2002 12:00AM
Credit: Credited to Louis Imershein <[email protected]>.
Vulnerable: nscd nscd 2.2.4
+ Caldera OpenLinux Server 3.1.1
+ Caldera OpenLinux Server 3.1
+ Caldera OpenLinux Workstation 3.1.1
+ Caldera OpenLinux Workstation 3.1
Not Vulnerable:

Discussion

GNU nscd Incorrect Hosts Cache Behavior Vulnerability

The GNU Name Service Cache Daemon (nscd) provides a cache for common name service requests. It is able to cache requests against the hosts, groups and passwd databases.

A vulnerability has been reported in some versions of nscd. If a request is made for a DNS PTR record, the returned name is cached. If a subsequent A lookup is made against this name, the IP address of the original query is returned.

Exploit / POC

GNU nscd Incorrect Hosts Cache Behavior Vulnerability

No exploit is required.

Solution / Fix

GNU nscd Incorrect Hosts Cache Behavior Vulnerability

Solution:
Caldera suggests disabling the hosts cache in /etc/nscd.conf by adding the line:

enable-cache hosts no

Currently the SecurityFocus staff are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.

References

GNU nscd Incorrect Hosts Cache Behavior Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report