7410 : FreeS/WAN & KAME IPSEC Implementations Spoofed ESP Packet DoS
Printer | http://osvdb.org/7410 | Email This | Edit Vulnerability

Views This Week

5

Views All Time

38

Info

Last Modified

5 months ago

Percent Complete

100%

Disclosure

Oct 17, 2002

Discovery

Unknown

Dates

Exploit

Oct 17, 2002

Solution

Unknown

Description

Many IPSec implementations, including KAME, Linux FreeS/WAN, and operating systems that include them contain a flaw that may allow a remote denial of service. The issue is triggered when a very short IPSec packet is sent, and will result in loss of availability for the service, and in some cases will trigger a kernel panic and loss of availability for the platform.

Classification

Location: Local Access Required, Remote/Network Access Required
Attack Type: Denial of Service, Input Manipulation
Impact: Loss of Availability
Exploit: Exploit Available
Disclosure: OSVDB Verified

Technical

While processing an IPSec datagram, many IPSec implementations do not properly calculate the length of the authentication data field for very small datagrams. This vulnerability report is based only on ESP IPSec packets for IPv4, but the reporting researcher suggests that the same issues are likely to also be found for AH and/or for IPv6 packets.

IPSec's ESP (Encapsulating Security Payload) protocol's authentication is based in part on a Security Association (SA). The size of the authentication data field will depend on the authentication algorithm used by the SA, but is usually 12 bytes or more. When an ESP packet arrives, the IPSec implementation looks up the relevant SA and attempts to verify the authentication data. The vulnerable IPSec implementations either fail to check for the presence of the auth data, or check incorrectly. Spoofing very short ESP packets with only 8 bytes of IP payload can cause the Integrity Check Value to be calculated for an overly large range of memory, resulting in an unsigned integer overflow. This can cause a kernel panic.

Solution

Upgrade to NetBSD version 1.5.4, FreeBSD version 4.7, KAME version 1.1 post-2002/08/21, FreeS/WAN version 1.99, or higher, as this has been reported to fix this vulnerability. It is also possible to correct the flaw by applying the patch from the relevant vendor.

Products

FreeBSD Project
Watch-list
FreeBSD
Watch-list
3.x
4.3-RELEASE
4.4-RELEASE
4.5-RELEASE
4.6-RELEASE
4.2-RELEASE
4.1-RELEASE
4.0-RELEASE
NetBSD Foundation, Inc.
Watch-list
NetBSD
Watch-list
1.5
1.5.1
1.5.2
1.5.3
KAME Project
Watch-list
KAME
Watch-list
1.1 prior to 2002/08/21
Linux FreeS/WAN
Watch-list
FreeS/WAN
Watch-list
1.98
1.98b
1.97
1.96
1.95
1.94
1.93
1.92
1.91
1.9
1.8
1.7
1.6
1.5

References

Tools & Filters

Nessus

15038

Credit

  • Todd Sabin - tsabinBrand New Doo Doorazor.bindview.com - Bindview RAZOR

Blogs

None found at this time

Comments

No Comments.

DONATE NOW!

User Status

Quick Searches

Advertisements

The database information may change without any notice. Use of the information constitutes acceptance for use in an AS IS condition, and there are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the copyright holder or distributor (OSVDB or OSF) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

© Copyright 2008 Open Source Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use