Gentoo Logo

IPsec-Tools: authentication bug in racoon


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200406-17 / IPsec-Tools
Release Date June 22, 2004
Latest Revision May 22, 2006: 02
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
net-firewall/ipsec-tools < 0.3.3 >= 0.3.3 All supported architectures

Related bugreports: #53915


racoon provided as part of IPsec-Tools fails do proper authentication.

2.  Impact Information


IPsec-Tools is a port of KAME's implementation of the IPsec utilities. It contains a collection of network monitoring tools, including racoon, ping, and ping6.


The KAME IKE daemon racoon is used to authenticate peers during Phase 1 when using either preshared keys, GSS-API, or RSA signatures. When using RSA signatures racoon validates the X.509 certificate but not the RSA signature.


By sending a valid and trusted X.509 certificate and any private key an attacker could exploit this vulnerability to perform man-in-the-middle attacks and initiate unauthorized connections.

3.  Resolution Information


There is no known workaround at this time. All users are encouraged to upgrade to the latest available version.


All IPsec-Tools users should upgrade to the latest stable version:

Code Listing 3.1: Resolution

# emerge sync

# emerge -pv ">=net-firewall/ipsec-tools-0.3.3"
# emerge ">=net-firewall/ipsec-tools-0.3.3"

4.  References


Page updated June 22, 2004

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.