Home    |    View Topics    |    Search    |    Contact Us    |   



Category:   Application (Generic)  >   BIND Vendors:   ISC (Internet Software Consortium)
(NetBSD Issues Fix) BIND DNSSEC Validation Bug Lets Remote Users Deny Service
SecurityTracker Alert ID:  1017742
SecurityTracker URL:
CVE Reference:   CVE-2007-0494   (Links to External Site)
Date:  Mar 9 2007
Impact:   Denial of service via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 9.0.x, 9.1.x, 9.2.0 - 9.2.7, 9.3.0 - 9.3.3, 9.4.x prior to 9.4.0rc2
Description:   A vulnerability was reported in BIND. A remote user can cause denial of service conditions.

A remote user can send specially crafted data to cause the target service to crash. A type * (ANY) DNS query that results in a response with multiple RRsets can trigger this flaw in the DNSSEC validation code.

The following versions are affected:

BIND 9.0.x
BIND 9.1.x
BIND 9.2.0, 9.2.1, 9.2.2, 9.2.3, 9.2.4, 9.2.5, 9.2.6, 9.2.7
BIND 9.3.0, 9.3.1, 9.3.2, 9.3.3
BIND 9.4.0a1, 9.4.0a2, 9.4.0a3, 9.4.0a4, 9.4.0a5, 9.4.0a6, 9.4.0b1, 9.4.0b2, 9.4.0b3, 9.4.0b4, 9.4.0rc1
BIND 9.5.0a1 (Bind Forum only)

Impact:   A remote user can cause the target name service to crash.
Solution:   NetBSD has released a fix.

The NetBSD advisory is available at:

Vendor URL: (Links to External Site)
Cause:   State error
Underlying OS:  UNIX (NetBSD)
Underlying OS Comments:  4.0_BETA2 and prior versions

Message History:   This archive entry is a follow-up to the message listed below.
Jan 30 2007 BIND DNSSEC Validation Bug Lets Remote Users Deny Service

 Source Message Contents

Subject:  NetBSD Security Advisory 2007-003: BIND multiple denial of service

Hash: SHA1

		 NetBSD Security Advisory 2007-003

Topic:		BIND multiple denial of service vulnerabilities

Version:	NetBSD-current:	source prior to January 27, 2007
		NetBSD 4.0_BETA2:	affected
		NetBSD 3.1:		affected
		NetBSD 3.0.*:		affected
		NetBSD 3.0:		affected
		NetBSD 2.1:		not affected
		NetBSD 2.0.*:		not affected
		NetBSD 2.0:		not affected
		pkgsrc:			bind-9.3.2 and earlier

Severity:	Denial of service

Fixed:		NetBSD-current:		January 27, 2007
		NetBSD-4 branch:	March 04, 2007
		NetBSD-3-1 branch:	March 04, 2007
		NetBSD-3-0 branch:	March 04, 2007
		NetBSD-3 branch:	March 04, 2007
		pkgsrc:			bind-9.3.4 corrects the issue


Two denial of service vulnerabilities have been reported in bind which
can cause the name server daemon to crash.  The vulnerabilities relate
to the processing of type * (ANY) queries and recursive queries.

The ANY query processing issue has been assigned CVE reference CVE-2007-0493.
The recursive query issue has been assigned CVE reference CVE-2007-0494.

Technical Details

Issue #1: * (ANY) query processing

This issue is relating to the way in which the server processes
a type * (ANY) query.  In order for this attack to be successful
the query must return multiple RRsets in the answer section.  In
addition to this the server must be configured with dnssec
validation enabled.

Issue #2: Recursive query handling

This issue is relating to the way in which the server processes
recursive queries.  The request, in this case, can cause named to 
read a freed fetch context.  The server needs to be enabled to
receive recursive queries in order for this attack to be successful.

Solutions and Workarounds

If you have not enabled dnssec validation in your name server then you
are not vulnerable to the * (ANY) denial of service attack.  Both
vulnerabilities can be mitigated by limiting who can perform specific
queries against the name server.  

In particular, it is recommended practice, regardless of this
vulnerability, to accept recursive queries only from local clients who
would be expected to query this nameserver directly, not from unknown
Internet sources.  The 'allow-recursion' directive in the options
section of named.conf should be configured with an appropriate address
list, as in the following simple example:

options {
        directory "/etc/namedb";
        allow-recursion {;; ::1; };

It is recommended that NetBSD users of vulnerable versions update
their binaries.

The following instructions describe how to upgrade your bind
binaries by updating your source tree and rebuilding and
installing a new version of bind.

* NetBSD-current:

	Systems running NetBSD-current dated from before 2007-01-27
	should be upgraded to NetBSD-current dated 2007-01-28 or later.

	Due to the amount of changes introduced in the BIND upgrade
	in CVS HEAD it is recommended that users of NetBSD-current
	perform a full system upgrade to sources dated after 2007-01-28.

	For more information on how to do this, see:

* NetBSD 3.*:

	Systems running NetBSD 3.* sources dated from before
	2007-03-04 should be upgraded from NetBSD 3.* sources dated
	2007-03-05 or later.

	The following files need to be updated from the
	netbsd-3, netbsd-3-0 or netbsd-3-1 branch:

	To update from CVS, re-build, and re-install bind:

		# cd src
		# cvs update -r <branch_name> dist/bind/lib/dns/resolver.c
		# cvs update -r <branch_name> dist/bind/lib/dns/validator.c
		# cvs update -r <branch_name> \ 
		# cvs update -r <branch_name> dist/bind/version
		# cd usr.sbin/bind
		# make USETOOLS=no cleandir dependall
		# make USETOOLS=no install

Thanks To

The Internet Software Consortium is credited with the discovery and 
correction of both issues.

Revision History

	2007-03-08	Initial release

More Information

Advisories may be updated as new information becomes available.
The most recent version of this advisory (PGP signed) can be found at

Information about NetBSD and NetBSD security can be found at and

Copyright 2007, The NetBSD Foundation, Inc.  All Rights Reserved.
Redistribution permitted only in full, unmodified form.

$NetBSD: NetBSD-SA2007-003.txt,v 1.2 2007/03/08 19:32:38 adrianp Exp $

Version: GnuPG v1.4.7 (NetBSD)



Go to the Top of This SecurityTracker Archive Page

Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2021, LLC