SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Generic)  >   BIND Vendors:   ISC (Internet Software Consortium)
(FreeBSD Issues Fix) BIND DNSSEC Validation Bug Lets Remote Users Deny Service
SecurityTracker Alert ID:  1017627
SecurityTracker URL:  http://securitytracker.com/id/1017627
CVE Reference:   CVE-2007-0494   (Links to External Site)
Date:  Feb 12 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:   FreeBSD has released a fix and has provided the following solution information [quoted]:

Perform one of the following:

1) Upgrade your vulnerable system to 5-STABLE, or 6-STABLE, or to the
RELENG_6_2, RELENG_6_1, or RELENG_5_5 security branch dated after the
correction date.

2) To patch your present system:

The following patches have been verified to apply to FreeBSD 5.5, 6.1,
and 6.2 systems.

a) Download the relevant patch from the location below, and verify the
detached PGP signature using your PGP utility.

[FreeBSD 5.5, FreeBSD 6.1]
# fetch http://security.FreeBSD.org/patches/SA-07:02/bind61.patch
# fetch http://security.FreeBSD.org/patches/SA-07:02/bind61.patch.asc

[FreeBSD 6.2]
# fetch http://security.FreeBSD.org/patches/SA-07:02/bind62.patch
# fetch http://security.FreeBSD.org/patches/SA-07:02/bind62.patch.asc

b) Execute the following commands as root:

# cd /usr/src
# patch < /path/to/patch
# cd /usr/src/lib/bind
# make obj && make depend && make && make install
# cd /usr/src/usr.sbin/named
# make obj && make depend && make && make install

c) Restart the named application:

# /etc/rc.d/named restart

The FreeBSD advisory is available at:

http://security.FreeBSD.org/advisories/FreeBSD-SA-07:02.bind.asc

Vendor URL:  www.isc.org/ (Links to External Site)
Cause:   State error
Underlying OS:  UNIX (FreeBSD)
Underlying OS Comments:  5.5, 6.1, 6.2

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:  FreeBSD Security Advisory FreeBSD-SA-07:02.bind


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=============================================================================
FreeBSD-SA-07:02.bind                                       Security Advisory
                                                          The FreeBSD Project

Topic:          Multiple Denial of Service vulnerabilities in named(8)

Category:       contrib
Module:         bind
Announced:      2007-02-09
Affects:        FreeBSD 5.3 and later.
Corrected:      2007-02-07 00:42:09 UTC (RELENG_6, 6.2-STABLE)
                2007-02-09 20:24:15 UTC (RELENG_6_2, 6.2-RELEASE-p1)
                2007-02-09 20:23:29 UTC (RELENG_6_1, 6.1-RELEASE-p13)
                2007-02-07 00:46:35 UTC (RELENG_5, 5.5-STABLE)
                2007-02-09 20:22:44 UTC (RELENG_5_5, 5.5-RELEASE-p11)
CVE Name:       CVE-2007-0493, CVE-2007-0494

For general information regarding FreeBSD Security Advisories,
including descriptions of the fields above, security branches, and the
following sections, please visit <URL:http://security.FreeBSD.org/>.

I.   Background

BIND 9 is an implementation of the Domain Name System (DNS) protocols.
The named(8) daemon is an Internet domain name server.  DNS Security
Extensions (DNSSEC) are additional protocol options that add
authentication and integrity to the DNS protocols.

II.  Problem Description

A type * (ANY) query response containing multiple RRsets can trigger an
assertion failure.

Certain recursive queries can cause the nameserver to crash by using memory
which has already been freed.

III. Impact

A remote attacker sending a type * (ANY) query to an authoritative DNS
server for a DNSSEC signed zone can cause the named(8) daemon to exit,
resulting in a Denial of Service.

A remote attacker sending recursive queries can cause the nameserver to
crash, resulting in a Denial of Service.

IV.  Workaround

There is no workaround available, but systems which are not authoritative
servers for DNSSEC signed zones are not affected by the first issue; and
systems which do not permit untrusted users to perform recursive DNS
resolution are not affected by the second issue.  Note that the default
configuration for named(8) in FreeBSD allows local access only (which on
many systems is equivalent to refusing access to untrusted users).

V.   Solution

Perform one of the following:

1) Upgrade your vulnerable system to 5-STABLE, or 6-STABLE, or to the
RELENG_6_2, RELENG_6_1, or RELENG_5_5 security branch dated after the
correction date.

2) To patch your present system:

The following patches have been verified to apply to FreeBSD 5.5, 6.1,
and 6.2 systems.

a) Download the relevant patch from the location below, and verify the
detached PGP signature using your PGP utility.

[FreeBSD 5.5, FreeBSD 6.1]
# fetch http://security.FreeBSD.org/patches/SA-07:02/bind61.patch
# fetch http://security.FreeBSD.org/patches/SA-07:02/bind61.patch.asc

[FreeBSD 6.2]
# fetch http://security.FreeBSD.org/patches/SA-07:02/bind62.patch
# fetch http://security.FreeBSD.org/patches/SA-07:02/bind62.patch.asc

b) Execute the following commands as root:

# cd /usr/src
# patch < /path/to/patch
# cd /usr/src/lib/bind
# make obj && make depend && make && make install
# cd /usr/src/usr.sbin/named
# make obj && make depend && make && make install

c) Restart the named application:

# /etc/rc.d/named restart

VI.  Correction details

The following list contains the revision numbers of each file that was
corrected in FreeBSD.

Branch                                                           Revision
  Path
- -------------------------------------------------------------------------
RELENG_5
  src/contrib/bind9/lib/dns/resolver.c                        1.1.1.1.2.8
  src/contrib/bind9/lib/dns/validator.c                       1.1.1.1.2.5
  src/contrib/bind9/lib/dns/include/dns/validator.h           1.1.1.1.2.4
RELENG_5_5
  src/UPDATING                                            1.342.2.35.2.11
  src/sys/conf/newvers.sh                                  1.62.2.21.2.13
  src/contrib/bind9/lib/dns/resolver.c                    1.1.1.1.2.4.2.2
  src/contrib/bind9/lib/dns/validator.c                   1.1.1.1.2.3.2.1
  src/contrib/bind9/lib/dns/include/dns/validator.h       1.1.1.1.2.2.2.1
RELENG_6
  src/contrib/bind9/lib/dns/resolver.c                        1.1.1.2.2.6
  src/contrib/bind9/lib/dns/validator.c                       1.1.1.2.2.3
  src/contrib/bind9/lib/dns/include/dns/validator.h           1.1.1.1.4.3
RELENG_6_2
  src/UPDATING                                             1.416.2.29.2.4
  src/sys/conf/newvers.sh                                   1.69.2.13.2.4
  src/contrib/bind9/lib/dns/resolver.c                    1.1.1.2.2.4.2.2
  src/contrib/bind9/lib/dns/validator.c                   1.1.1.2.2.1.4.2
  src/contrib/bind9/lib/dns/include/dns/validator.h       1.1.1.1.4.1.4.2
RELENG_6_1
  src/UPDATING                                            1.416.2.22.2.15
  src/sys/conf/newvers.sh                                  1.69.2.11.2.15
  src/contrib/bind9/lib/dns/resolver.c                    1.1.1.2.2.2.2.2
  src/contrib/bind9/lib/dns/validator.c                   1.1.1.2.2.1.2.1
  src/contrib/bind9/lib/dns/include/dns/validator.h       1.1.1.1.4.1.2.1
- -------------------------------------------------------------------------

VII. References

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-0493
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-0494

The latest revision of this advisory is available at
http://security.FreeBSD.org/advisories/FreeBSD-SA-07:02.bind.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFFzNnpFdaIBMps37IRAsCVAJ9qvyFe04YWnkvYkFQPsSTIP+SLYgCfUhO8
alXiQEsy1iSwSI66d/e7gSk=
=HmF6
-----END PGP SIGNATURE-----
_______________________________________________
freebsd-security-notifications@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security-notifications
To unsubscribe, send any mail to "freebsd-security-notifications-unsubscribe@freebsd.org"

 
 


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, SecurityGlobal.net LLC