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

Views This Week Views All Time Added to OSVDB Last Modified Modified (since 2008) Percent Complete
9 241 over 7 years ago 5 months ago 1 times 90%

Timeline

Disclosure Date Exploit Publish Date
2002-10-17 2002-10-17

Description

Many IPSec implementations, including 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
Attack Type: Denial of Service, Input Manipulation
Impact: Loss of Availability
Exploit: Exploit Public
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 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

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

15038

Credit

  • Todd Sabin - tsabinrazor.bindview.com - Bindview RAZOR

CVSSv2 Score

CVSSv2 Base Score = 5.0
Source: nvd.nist.gov | Generated: 2003-12-31 | Disagree?

Access_vector_2 Access_complexity_2 Authentication_2 Confidentiality_impact_0 Integrity_impact_0 Availability_impact_1

Blogs

This section lists the latest news and blogs found via the daylife API (and for older items, the technorati API), which mention or otherwise discuss this vulnerability.

None found at this time

Comments

No Comments.

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 2012 Open Source Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use