BIND 8 is an implementation of the Domain Name System (DNS) protocols. The named( daemon is the Internet domain name server. A programming error in BIND 8 named can result in a DNS message being incorrectly cached as a negative response. An attacker may arrange for malicious DNS messages to be delivered to a target name server, and cause that name server to cache a negative response for some target domain name. The name server would thereafter respond negatively to legitimate queries for that domain name, resulting in a denial-of-service for applications that require DNS. Almost all Internet applications require DNS, such as the Web, email, and chat networks.
[Read more]
-------------------------------------
From "FreeBSD Security Advisories" <security-advisories@freebsd.org>;
Subject [FreeBSD-Announce] FreeBSD Security Advisory FreeBSD-SA-03:19.bind
Date Fri, November 28, 2003 3:48 pm
To "FreeBSD Security Advisories" <security-advisories@freebsd.org>;
==================================================
===========================
FreeBSD-SA-03:19.bind Security Advisory
The FreeBSD Project
Topic: bind8 negative cache poison attack
Category: contrib
Module: contrib_bind
Announced: 2003-11-28
Credits: Internet Software Consortium
Affects: FreeBSD versions through 4.9-RELEASE and 5.1-RELEASE
4-STABLE prior to the correction date
Corrected: 2003-11-28 22:13:47 UTC (RELENG_4, 4.9-STABLE)
2003-11-27 00:54:53 UTC (RELENG_5_1, 5.1-RELEASE-p11)
2003-11-27 16:54:01 UTC (RELENG_5_0, 5.0-RELEASE-p19)
2003-11-27 00:56:06 UTC (RELENG_4_9, 4.9-RELEASE-p1)
2003-11-27 16:34:22 UTC (RELENG_4_8, 4.8-RELEASE-p14)
2003-11-27 16:35:06 UTC (RELENG_4_7, 4.7-RELEASE-p24)
2003-11-27 16:37:00 UTC (RELENG_4_6, 4.6.2-RELEASE-p27)
2003-11-27 16:38:36 UTC (RELENG_4_5, 4.5-RELEASE-p37)
2003-11-27 16:40:03 UTC (RELENG_4_4, 4.4-RELEASE-p47)
CVE Name: CAN-2003-0914
FreeBSD only: NO
For general information regarding FreeBSD Security Advisories,
including descriptions of the fields above, security branches, and the
following sections, please visit
<URL:http://www.freebsd.org/security/>;.
I. Background
BIND 8 is an implementation of the Domain Name System (DNS) protocols.
The named( daemon is the Internet domain name server.
II. Problem Description
A programming error in BIND 8 named can result in a DNS message being
incorrectly cached as a negative response.
III. Impact
An attacker may arrange for malicious DNS messages to be delivered
to a target name server, and cause that name server to cache a
negative response for some target domain name. The name server would
thereafter respond negatively to legitimate queries for that domain
name, resulting in a denial-of-service for applications that require
DNS. Almost all Internet applications require DNS, such as the Web,
email, and chat networks.
IV. Workaround
No workaround is known.
V. Solution
Do one of the following:
1) Upgrade your vulnerable system to 4.9-STABLE; or to the RELENG_5_1,
RELENG_4_9, RELENG_4_8, or RELENG_4_7 security branch dated after the
correction date.
2) To patch your present system:
a) Download the relevant patch from the location below, and verify the
detached PGP signature using your PGP utility.
# cd /usr/src
# patch < /path/to/patch
# cd /usr/src/lib/libbind
# make obj && make depend && make
# cd /usr/src/lib/libisc
# make obj && make depend && make
# cd /usr/src/usr.sbin/named
# make obj && make depend && make && make install
# cd /usr/src/libexec/named-xfer
# make obj && make depend && make && make install
After upgrading or patching your system, you must restart named.
Execute the following command as root:
# ndc restart
VI. Correction details
The following list contains the revision numbers of each file that was
corrected in FreeBSD.