SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service
Report a Bug
Report a vulnerability that you have found to SecurityTracker
bugs
@
securitytracker.com






Category:   Networking Stack (TCP/IP)  >   FreeBSD Kernel Vendors:   FreeBSD
(FreeBSD Issues Fix) BSD IPv6 Type 0 Route Headers May Let Remote Users Deny Service
SecurityTracker Alert ID:  1017973
SecurityTracker URL:  http://securitytracker.com/id/1017973
CVE Reference:   CVE-2007-2242   (Links to External Site)
Date:  Apr 27 2007
Impact:   Denial of service via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 5.5, 6.1, 6.2
Description:   A vulnerability was reported in IPv6, affecting OpenBSD and FreeBSD. A remote user can cause denial of service conditions.

A remote user can use IPv6 Type 0 route headers to conduct denial of service attacks against hosts and networks.

[Editor's note: The vendor indicates that this a design flaw in IPv6 and not a flaw in OpenBSD.]

Impact:   A remote user can cause denial of service conditions.
Solution:   FreeBSD has released a fix and has provided the following solution instructions [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.

# fetch http://security.FreeBSD.org/patches/SA-07:03/ipv6.patch
# fetch http://security.FreeBSD.org/patches/SA-07:03/ipv6.patch.asc

b) Apply the patch.

# cd /usr/src
# patch < /path/to/patch

c) Recompile your kernel as described in
<URL:http://www.FreeBSD.org/handbook/kernelconfig.html> and reboot the
system.

The FreeBSD advisory is available at:

http://security.FreeBSD.org/advisories/FreeBSD-SA-07:03.ipv6.asc

Cause:   Resource error
Underlying OS:  

Message History:   This archive entry is a follow-up to the message listed below.
Apr 23 2007 BSD IPv6 Type 0 Route Headers May Let Remote Users Deny Service



 Source Message Contents

Date:  Thu, 26 Apr 2007 23:49:48 +0000 (GMT)
Subject:  FreeBSD Security Advisory FreeBSD-SA-07:03.ipv6


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

=============================================================================
FreeBSD-SA-07:03.ipv6                                       Security Advisory
                                                          The FreeBSD Project

Topic:          IPv6 Routing Header 0 is dangerous

Category:       core
Module:         ipv6
Announced:      2007-04-26
Credits:        Philippe Biondi, Arnaud Ebalard, Jun-ichiro itojun Hagino
Affects:        All FreeBSD releases.
Corrected:      2007-04-24 11:42:42 UTC (RELENG_6, 6.2-STABLE)
                2007-04-26 23:42:23 UTC (RELENG_6_2, 6.2-RELEASE-p4)
                2007-04-26 23:41:59 UTC (RELENG_6_1, 6.1-RELEASE-p16)
                2007-04-24 11:44:23 UTC (RELENG_5, 5.5-STABLE)
                2007-04-26 23:41:27 UTC (RELENG_5_5, 5.5-RELEASE-p12)
CVE Name:       CVE-2007-2242

I.   Background

IPv6 provides a routing header option which allows a packet sender to
indicate how the packet should be routed, overriding the routing knowledge
present in a network.  This functionality is roughly equivalent to the
"source routing" option in IPv4.  All nodes in an IPv6 network -- both
routers and hosts -- are required by RFC 2640 to process such headers.

II.  Problem Description

There is no mechanism for preventing IPv6 routing headers from being used
to route packets over the same link(s) many times.

III. Impact

An attacker can "amplify" a denial of service attack against a link between
two vulnerable hosts; that is, by sending a small volume of traffic the
attacker can consume a much larger amount of bandwidth between the two
vulnerable hosts.

An attacker can use vulnerable hosts to "concentrate" a denial of service
attack against a victim host or network; that is, a set of packets sent
over a period of 30 seconds or more could be constructed such that they
all arrive at the victim within a period of 1 second or less.

Other attacks may also be possible.

IV.  Workaround

No workaround is available.

V.   Solution

NOTE WELL: The solution described below causes IPv6 type 0 routing headers
to be ignored.  Support for IPv6 type 0 routing headers can be re-enabled
if required by setting the newly added net.inet6.ip6.rthdr0_allowed sysctl
to a non-zero value.

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.

# fetch http://security.FreeBSD.org/patches/SA-07:03/ipv6.patch
# fetch http://security.FreeBSD.org/patches/SA-07:03/ipv6.patch.asc

b) Apply the patch.

# cd /usr/src
# patch < /path/to/patch

c) Recompile your kernel as described in
<URL:http://www.FreeBSD.org/handbook/kernelconfig.html> and reboot the
system.

VI.  Correction details

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

Branch                                                           Revision
  Path
- -------------------------------------------------------------------------
RELENG_5
  src/sys/netinet6/in6.h                                         1.35.2.5
  src/sys/netinet6/in6_proto.c                                   1.29.2.5
  src/sys/netinet6/route6.c                                      1.10.4.2
RELENG_5_5
  src/UPDATING                                            1.342.2.35.2.12
  src/sys/conf/newvers.sh                                  1.62.2.21.2.14
  src/sys/netinet6/in6.h                                     1.35.2.3.2.1
  src/sys/netinet6/in6_proto.c                               1.29.2.4.2.1
  src/sys/netinet6/route6.c                                  1.10.4.1.4.1
RELENG_6
  src/sys/netinet6/in6.h                                         1.36.2.8
  src/sys/netinet6/in6_proto.c                                   1.32.2.6
  src/sys/netinet6/route6.c                                      1.11.2.2
RELENG_6_2
  src/UPDATING                                             1.416.2.29.2.7
  src/sys/conf/newvers.sh                                   1.69.2.13.2.7
  src/sys/netinet6/in6.h                                     1.36.2.7.2.1
  src/sys/netinet6/in6_proto.c                               1.32.2.5.2.1
  src/sys/netinet6/route6.c                                  1.11.2.1.4.1
RELENG_6_1
  src/UPDATING                                            1.416.2.22.2.18
  src/sys/conf/newvers.sh                                  1.69.2.11.2.18
  src/sys/netinet6/in6.h                                     1.36.2.6.2.1
  src/sys/netinet6/in6_proto.c                               1.32.2.4.2.1
  src/sys/netinet6/route6.c                                  1.11.2.1.2.1
- -------------------------------------------------------------------------

VII. References

http://www.secdev.org/conf/IPv6_RH_security-csw07.pdf

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

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

iD4DBQFGMTlvFdaIBMps37IRApu3AJYsifWIDLcyxNcMdnkvw4nBqXFoAJ43+IzB
M5sIdCmLQABByFlbMB2BjQ==
=OrNf
-----END PGP SIGNATURE-----
_______________________________________________
freebsd-security@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

Copyright 2012, SecurityGlobal.net LLC