![]() |
|
ESB-2003.0861 -- NetBSD Security Advisory 2003-018 -- DNS negative cache poisoning |
|
Date: 18 December 2003 Original URL: http://www.auscert.org.au/render.html?cid=1&it=3698 References: ESB-2003.0850 Click here for PGP verifiable version -----BEGIN PGP SIGNED MESSAGE-----
===========================================================================
AUSCERT External Security Bulletin Redistribution
ESB-2003.0861 -- NetBSD Security Advisory 2003-018
DNS negative cache poisoning
18 December 2003
===========================================================================
AusCERT Security Bulletin Summary
---------------------------------
Product: bind8 prior to 8.4.3
Publisher: NetBSD
Operating System: NetBSD-current source prior to 27/11/2003
NetBSD 1.6.2_RC2 and prior
Impact: Denial of Service
Access Required: Remote
CVE Names: CAN-2003-0914
Ref: ESB-2003.0850
- --------------------------BEGIN INCLUDED TEXT--------------------
- -----BEGIN PGP SIGNED MESSAGE-----
NetBSD Security Advisory 2003-018
=================================
Topic: DNS negative cache poisoning
Version: NetBSD-current: source prior to Nov 27, 2003
NetBSD 1.6.2_RC3: not affected
NetBSD 1.6.2_RC2: affected
NetBSD 1.6.2_RC1: affected
NetBSD 1.6: affected
NetBSD-1.5.3: affected
NetBSD-1.5.2: affected
NetBSD-1.5.1: affected
NetBSD-1.5: affected
pkgsrc: bind8 packages prior to 8.4.3
bind9 packages unaffected
Severity: Denial of service resolving DNS entries
Fixed: NetBSD-current: Nov 27, 2003
NetBSD-1.6 branch: Nov 28, 2003 (1.6.2 will include the fix)
(1.6.2_RC3 includes the fix)
NetBSD-1.5 branch: Nov 28, 2003
pkgsrc bind8: bind8-8.4.3 will correct this issue
Abstract
========
If an attacker can trigger your DNS server to do a lookup via a server
he controls, the malign server can inject authoritative negative
responses with long time to live values. Your DNS server will cache the
lie that the relevant resource records do not exist.
Technical Details
=================
- - From CERT VU#734644:
http://www.kb.cert.org/vuls/id/734644
Several versions of the BIND 8 name server are vulnerable to cache
poisoning via negative responses. To exploit this vulnerability, an
attacker must configure a name server to return authoritative negative
responses for a given target domain. Then, the attacker must convince a
victim user to query the attacker's maliciously configured name server.
When the attacker's name server receives the query, it will reply with
an authoritative negative response containing a large TTL (time-to-live)
value. If the victim's site runs a vulnerable version of BIND 8, it will
cache the negative response and render the target domain unreachable
until the TTL expires.
NOTE: While ISC released two patch versions for this vulunerability
(8.3.7 and 8.4.3) a query-storm bug has been discovered in the 8.4.3
version. The 8.3.7 version which currently ships as part of NetBSD does
not have this bug. ISC recommends against moving production servers to
8.4.3
Solutions and Workarounds
=========================
If you are not running named(8), your system is not affected.
BIND 9 is not affected by these vulnerabilities. Upgrading to BIND 9
is recommended. BIND 9 is available in the NetBSD Pkgsrc Collection
(pkgsrc/net/bind9). Configuration files differ between BIND 8 and
9. Plan such a migration appropriately.
The following instructions describe how to upgrade your named
binaries by updating your source tree and rebuilding and
installing a new version of named.
Be sure to restart running instance of named(8) after installation.
* NetBSD-current:
Systems running NetBSD-current dated from before 2002-11-27
should be upgraded to NetBSD-current dated 2002-11-27 or later.
The following directories need to be updated from the
netbsd-current CVS branch (aka HEAD):
dist/bind
usr.sbin/bind
To update from CVS, re-build, and re-install named:
# cd src
# cvs update -d -P dist/bind usr.sbin/bind
# cd usr.sbin/bind
# make USETOOLS=no cleandir dependall
# make USETOOLS=no install
* NetBSD 1.6, 1.6.1:
The binary distributions of NetBSD 1.6 and 1.6.1 are vulnerable.
Systems running NetBSD 1.6 sources dated from before 2002-11-28
should be upgraded from NetBSD 1.6 sources dated 2002-11-28 or
later.
NetBSD 1.6.2 will include the fix.
* Binary patch:
To apply the binary patch, perform the following steps,
replacing ARCH with the NetBSD architecture you are running
(i.e. i386):
ftp://ftp.netbsd.org/pub/NetBSD/security/patches/SA2003-018-bind/netbsd-1-6/ARCH-bind.tgz
cd / && tar xzvpf /path/to/ARCH-bind.tgz
The tar file will extract a new copy of:
/usr/sbin/named
Then restart named.
* Updating from sources:
The following directories need to be updated from the
netbsd-1-6 CVS branch:
dist/bind
usr.sbin/bind
To update from CVS, re-build, and re-install named:
# cd src
# cvs update -d -P -r netbsd-1-6 dist/bind usr.sbin/bind
# cd usr.sbin/bind
# make USETOOLS=no cleandir dependall
# make USETOOLS=no install
* NetBSD 1.5, 1.5.1, 1.5.2, 1.5.3:
The binary distributions of NetBSD 1.5 to 1.5.3 are vulnerable.
Systems running NetBSD 1.5, 1.5.1, 1.5.2 or 1.5.3 sources dated
from before 2002-11-28 should be upgraded to NetBSD 1.5 sources
dated 2002-11-28 or later.
The following directories need to be updated from the
netbsd-1-5 CVS branch:
dist/bind
usr.sbin/bind
To update from CVS, re-build, and re-install named:
# cd src
# cvs update -d -P -r netbsd-1-5 dist/bind usr.sbin/bind
# cd usr.sbin/bind
# make cleandir dependall
# make install
* pkgsrc
bind8 versions prior to 8.3.7 and 8.4.3 are vulnerable. ISC has
not released 8.4.4. Upgrade to bind-8.4.4 or later when
available, or upgrade to bind9 (if appropriate for your
requirements)
Thanks To
=========
CERT
Revision History
================
2003-12-16 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
ftp://ftp.NetBSD.org/pub/NetBSD/security/advisories/NetBSD-SA2003-018.txt.asc
Information about NetBSD and NetBSD security can be found at
http://www.NetBSD.org/ and http://www.NetBSD.org/Security/.
Copyright 2003, The NetBSD Foundation, Inc. All Rights Reserved.
Redistribution permitted only in full, unmodified form.
$NetBSD: NetBSD-SA2003-018.txt,v 1.10 2003/12/17 03:08:24 david Exp $
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)
iQCVAwUBP9/Jmj5Ru2/4N2IFAQFkRAP/Rqai76RsSvOTPnpMf+aNjfWxv/eaEcOz
DsCyfZh5LzB1tuuHEWzvmQBUz0ppQy4mgp1r1Ecafmkq0O2vojYoC9TMtFaFtKv/
Raiyejjas57S1Xz/2af57+Gkzp3R3hQb532ttWjhaz8fAx+EixXjRX7pN1w7OrcX
SsWTGEcA2kk=
=cA7R
- -----END PGP SIGNATURE-----
- --------------------------END INCLUDED TEXT--------------------
You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.
This security bulletin is provided as a service to AusCERT's members. As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.
NOTE: This is only the original release of the security bulletin. It may
not be updated when updates to the original are made. If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.
Contact information for the authors of the original document is included
in the Security Bulletin above. If you have any questions or need further
information, please contact them directly.
Previous advisories and external security bulletins can be retrieved from:
http://www.auscert.org.au/render.html?cid=1980
If you believe that your computer system has been compromised or attacked in
any way, we encourage you to let us know by completing the secure National IT
Incident Reporting Form at:
http://www.auscert.org.au/render.html?it=3192
Internet Email: auscert@auscert.org.au
Facsimile: (07) 3365 7031
Telephone: (07) 3365 4417 (International: +61 7 3365 4417)
AusCERT personnel answer during Queensland business
hours which are GMT+10:00 (AEST). On call after hours
for member emergencies only.
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967
iQCVAwUBP+D3wyh9+71yA2DNAQGFawP+KodTUdu1WGYdAfEiJk3Xb1wYyVTVm/MS
if9aajCy7VJ7vyn7eYjtcPM9DR06z2my8/bCSIMYQelDUYkqnKX4P5U9k0599iTs
47LDRz6nWT7MgBToGX5qm3wv6rhep3VDrV0m/ZyqYLdFSYedruDRiH35dCPTSjY3
e+WyqVEA3Io=
=couu
-----END PGP SIGNATURE-----
|