CERT home
vulnerabilities & fixesevaluations & practicesresearch & analysistraining & education
homesearchFAQsite indexcontact
Vulnerability
Notes
Database

Search Vulnerability Notes

Vulnerability Notes Help Information
 

 View Notes By
Name

ID Number

CVE Name

Date Public

Date Published

Date Updated

Severity Metric

Vulnerability Note VU#572183

ISC BIND 4 contains buffer overflow in nslookupComplain()

Overview

The Berkeley Internet Name Domain (BIND) is an implementation of the Domain Name System (DNS) by the Internet Software Consortium (ISC). There is a buffer overflow vulnerability in BIND 4.9.x, which may allow remote intruders to gain access to systems running BIND. Although BIND 4.9.x is no longer officially maintained by ISC, various versions are still widely deployed on the Internet.

This vulnerability has been successfully exploited in a laboratory environment and presents a serious threat to the Internet infrastructure.

I. Description

A buffer overflow exists in the nslookupComplain() routine of several versions of ISC BIND. This vulnerability is reported to exist in all versions prior to BIND 4.9.8.

The vulnerable buffer is a locally defined character array used to build an error message intended for syslog. Attackers attempting to exploit this vulnerability could do so by sending a specially formatted DNS query to affected BIND servers. If properly constructed, this query could be used to disrupt the normal operation of the DNS server process, resulting in either denial of service or the execution of arbitrary code. If an attacker were able to execute code or commands, they would do so with the same privileges as the BIND process, which are typically superuser privileges.

It is important to note that other vendors of DNS software may be vulnerable to this problem as well. Please contact your vendor or check the vendor section of this document for further details.

II. Impact

This vulnerability can disrupt the proper operation of the BIND server and may allow an attacker to execute privileged commands or code with the same permissions as the BIND server. Because BIND is typically run by a superuser account, the execution would occur with superuser privileges.

III. Solution

The ISC has released BIND version 4.9.8 to address this security issue as well as others. The CERT/CC strongly recommends that all users of BIND 4.9.x upgrade to 4.9.8 immediately.


The BIND 4.9.8 distribution can be downloaded from:


The BIND 9.1 distribution can be downloaded from:

Please note that upgrading to BIND 4.9.8 also addresses the vulnerabilities discussed in VU#325431 and VU#868916.

Systems Affected

VendorStatusDate Updated
AppleNot Vulnerable5-Apr-2001
BSDIUnknown26-Jan-2001
CalderaVulnerable29-Jan-2001
Compaq Computer CorporationVulnerable4-Apr-2001
Data GeneralUnknown26-Jan-2001
DebianUnknown5-Apr-2001
FreeBSDNot Vulnerable5-Apr-2001
FujitsuUnknown26-Jan-2001
Hewlett PackardVulnerable5-Apr-2001
IBMVulnerable5-Apr-2001
ImmunixUnknown5-Apr-2001
ISCVulnerable4-Apr-2001
MandrakeSoftNot Vulnerable4-Apr-2001
MicrosoftNot Vulnerable30-Jan-2001
NCRUnknown27-Jan-2001
NECUnknown27-Jan-2001
NetBSDVulnerable5-Apr-2001
NeXTUnknown27-Jan-2001
OpenBSDVulnerable4-Apr-2001
RedHatUnknown4-Apr-2001
SCOVulnerable1-May-2002
SequentUnknown27-Jan-2001
SGIVulnerable27-Apr-2001
Siemens NixdorfUnknown27-Jan-2001
SlackwareUnknown5-Apr-2001
SonyUnknown27-Jan-2001
SunVulnerable7-Aug-2001
SuSEVulnerable5-Apr-2001
UnisysUnknown27-Jan-2001

References

VU#196945, VU#325431, VU#868916
http://www.isc.org/products/BIND/bind-security.html
http://www.pgp.com/research/covert/advisories/047.asp
http://www.cymru.com/~robt/Docs/Articles/secure-bind-template.html
http://www.isi.edu/~bmanning/in-addr-audit.html
http://www.securityfocus.com/news/144
http://www.redhat.com/support/errata/RHSA-2001-007.html

Credit

The CERT/CC thanks the COVERT Labs at PGP Security for discovering and analyzing this vulnerability and the Internet Software Consortium for providing a patch to fix it.

This document was written by Jeffrey P. Lanza

Other Information

Date Public01/29/2001
Date First Published04/27/2001 05:24:01 PM
Date Last Updated05/01/2002
CERT AdvisoryCA-2001-02
CVE NameCAN-2001-0011
Metric38.90
Document Revision60

If you have feedback, comments, or additional information about this vulnerability, please send us email.
 

Copyright 2001 Carnegie Mellon University