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

Views This Week

1

Views All Time

114

Info

Last Modified

7 months ago

Percent Complete

100%

Disclosure

Mar 04, 2002

Discovery

Unknown

Dates

Exploit

Mar 04, 2002

Solution

Unknown

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 Required
Attack Type: Misconfiguration
Impact: Loss of Confidentiality, Loss of Integrity
Exploit: Exploit Available
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.3-RELEASE
4.4-RELEASE
4.5-RELEASE
4.2-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 - gdtBrand New Doo Dooir.bbn.com -
  • Bill Chiarchiaro - wjcBrand New Doo Doowork.cleartech.com -

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