NetBSD Security Advisory 2008-013: IPv6 Neighbor Discovery Protocol

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <netbsd-announce@...>
Date: Monday, October 27, 2008 - 6:44 pm

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

NetBSD Security Advisory 2008-013
=================================

Topic: IPv6 Neighbor Discovery Protocol

Version: NetBSD-current: affected
NetBSD 4.0.*: not affected
NetBSD 4.0: affected
NetBSD 3.1.*: affected
NetBSD 3.1: affected
NetBSD 3.0.*: affected
NetBSD 3.0: affected

Severity: Denial of service

Fixed: NetBSD-current: July 31, 2008
NetBSD-4-0 branch: October 03, 2008
(4.0.1 includes the fix)
NetBSD-4 branch: October 03, 2008
(4.1 will include the fix)
NetBSD-3-1 branch: October 03, 2008
(3.1.2 will include the fix)
NetBSD-3-0 branch: October 03, 2008
(3.0.4 will include the fix)
NetBSD-3 branch: October 03, 2008
(3.2 will include the fix)

Abstract
========

An attacker may be able to forge IPv6 routing entries to intercept network
traffic or cause a denial of service attack.

This vulnerability has been assigned CVE-2008-2476 and CERT
Vulnerability Note VU#472363.

Technical Details
=================

An attacker on a local network (i.e. the messages will not be forwarded by
routers) can send a ICMPv6 neighbor solicitation message to a router which
will result in a modification of the victims routing information. It may be
then possible for the attacker intercept network traffic or cause a denial
of service.

Solutions and Workarounds
=========================

Only kernels compiled with the following option are vulnerable to this issue:

options INET6

As a temporary workaround recompile the kernel with the above option
commented out. The default NetBSD GENERIC kernels have this
option enabled.

In addition to this the following work arounds may also be used:

* Use application level encryption (e.g. SSH, HTTPS) to protect sensitive
network traffic.
* Use network firewalls to block any malicious ICMPv6 neighbor solicitation
messages.

For all NetBSD versions, you need to obtain fixed kernel sources,
rebuild and install the new kernel, and reboot the system.

The fixed source may be obtained from the NetBSD CVS repository.
The following instructions briefly summarise how to upgrade your
kernel. In these instructions, replace:

ARCH with your architecture (from uname -m), and
KERNCONF with the name of your kernel configuration file.

To update from CVS, re-build, and re-install the kernel:

# cd src
# cvs update sys/netinet6/nd6_nbr.c sys/netinet6/in6.c \
sys/netinet6/in6_var.h
# ./build.sh kernel=KERNCONF
# mv /netbsd /netbsd.old
# cp sys/arch/ARCH/compile/obj/KERNCONF/netbsd /netbsd
# shutdown -r now

For more information on how to do this, see:

http://www.NetBSD.org/guide/en/chap-kernel.html

Thanks To
=========

Matt Thomas for the fix.
David Miles is credited with discovering this issue.

Revision History
================

2008-10-27 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-SA2008-013.tx...

Information about NetBSD and NetBSD security can be found at
http://www.NetBSD.org/ and http://www.NetBSD.org/Security/.

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

$NetBSD: NetBSD-SA2008-013.txt,v 1.3 2008/10/27 19:47:21 adrianp Exp $

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (NetBSD)

iQCVAwUBSQYcJD5Ru2/4N2IFAQK91QP/SKAaUbhiN5mRUFqyvm+kyC/uSAmaN1tm
t5Boq/sPpfuIDhHumWabACxDFYZN6uFddJ573d8lQm6IuVLWt4M8VixznIyBK+ix
Ii/CKaYJvfUJhuEPtXUiKDVfOSFstntNjtVUmY+Gut/9GumpXf88nFyXlsfw0mxm
Wu+7cLnxyFw=
=iuhQ
-----END PGP SIGNATURE-----

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Mailing list for NetBSD/x86_64 created, Frank van der Linden, (Thu Feb 27, 8:07 am)
Announcing NetBSD 5.0.1, Soren Jacobsen, (Sun Aug 2, 4:48 pm)
NetBSD Security Advisory 2003-010: remote panic in OSI netwo..., NetBSD Security Officer, (Mon Aug 4, 2:13 pm)
10 years of pkgsrc - the interviews, Mark Weinem, (Wed Oct 17, 10:26 am)
NetBSD Security Advisory 2009-001: PF firewall remote Denial..., NetBSD Security Officer, (Tue Jun 23, 4:50 pm)
NetBSD Security Advisory 2004-002: Inconsistent IPv6 path MT..., NetBSD Security-Officer, (Thu Feb 19, 9:36 am)
anoncvs server is back on line, Christos Zoulas, (Fri Jan 14, 4:19 pm)
The pkgsrc-2005Q3 Branch, Alistair Crooks, (Mon Sep 26, 5:44 pm)
NetBSD Security Advisory 2005-005: cgd(4) key destruction on..., NetBSD Security-Officer, (Mon Nov 7, 6:56 pm)
NetBSD Security Advisory 2008-005: OpenSSH Multiple issues, NetBSD Security-Officer, (Mon Apr 21, 6:27 pm)
End of life for the NetBSD 1.6 branch, Matthias Scheler, (Tue May 16, 12:58 pm)
Donations for server upgrades, Michael Graff, (Fri Jul 26, 6:56 pm)
NetBSD Security Advisory 2006-021: Integer overflows in CID-..., NetBSD Security-Officer, (Thu Sep 21, 6:13 pm)
NetBSD Security Advisory 2008-013: IPv6 Neighbor Discovery P..., NetBSD Security-Officer, (Mon Oct 27, 6:44 pm)