5304 : KAME-derived IPsec Forged IPv4 Packet Forwarding
Printer | http://osvdb.org/5304 | Email This | Edit Vulnerability

Views This Week Views All Time Added to OSVDB Last Modified Modified (since 2008) Percent Complete
2 372 over 7 years ago over 3 years ago 0 times 90%

Timeline

Disclosure Date Exploit Publish Date
2002-03-04 2002-03-04

Keywords

ESP

Description

Implementations of IPSec derived from KAME contain a flaw that may allow a malicious user to spoof IPv4 packets through a security gateway and have them appear authenticated. The issue is triggered when the security gateway is configured to require encapsulating service payload (ESP). The gateway fails to check its security policy database. It is possible that the flaw may allow spoofed or non-encapsulated packets through, resulting in a loss of confidentiality and/or integrity.

Classification

Location: Local Access Required, Remote / Network Access
Attack Type: Misconfiguration
Impact: Loss of Confidentiality, Loss of Integrity
Exploit: Exploit Public
Disclosure: OSVDB Verified

Technical

Affected IPSec implementations fail to perform inbound policy checks against the security policy database on packets which are forwarded in violation of RFC2401, sections 4.4.1 and 5.2.1 (steps 3 and 4). The erroneous code, found in src/sys/netinet/ip_input.c from the call to ip_forward(), would allow an attacker to inject packets that should be disallowed by a properly implemented security policy, but will not allow the attacker to receive packets improperly since the failed check is only inbound.

Solution

Upgrade to an appropriate version of the software -- KAME 1.2088 (1.37 for NetBSD, 1.33 for FreeBSD-4, 1.33), NetBSD -current (1.145) and 1.5-stable (1.114.4.8), or FreeBSD -current (1.192) and -stable (1.130.2.35), or higher, as this has been reported to fix this vulnerability. It is also possible to correct the flaw by applying the vendor-supplied patches and recompiling.

Products

FreeBSD Project
Watch-list
FreeBSD
Watch-list
4.2-RELEASE
4.3-RELEASE
4.4-RELEASE
4.5-RELEASE
NetBSD Foundation, Inc.
Watch-list
NetBSD
Watch-list
1.5
1.5.1
1.5.2
KAME Project
Watch-list
KAME
Watch-list
1.2087

References

Credit

  • Greg Troxel - gdtir.bbn.com -
  • Bill Chiarchiaro - wjcwork.cleartech.com -

CVSSv2 Score

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

Access_vector_2 Access_complexity_2 Authentication_2 Confidentiality_impact_1 Integrity_impact_1 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