Summary
An authentication bypass vulnerability
was found in charon, the daemon handling IKEv2 in strongSwan, an IKE/IPsec suite.
The state machine handling the security association (IKE_SA) handled some state transitions incorrectly.
An attacker can trigger the vulnerability by rekeying an unestablished IKE_SA during the initiation itself. This will trick the IKE_SA state to established without the need to provide any valid credential.
Vulnerable setups include those actively initiating IKEv2 IKE_SA (like ?clients? or ?roadwarriors?) but also during re-authentication (which can be initiated by the responder). Installations using IKEv1 (pluto daemon in strongSwan 4 and earlier, and IKEv1 code in charon 5.x) is not affected.
Solution
For the oldstable distribution (squeeze),
this problem has been fixed in version 4.4.1-5.5.
For the stable distribution (wheezy), this problem has been fixed in version 4.5.2-1.5+deb7u3.
For the unstable distribution (sid), this problem has been fixed in version 5.1.2-4.
We recommend that you upgrade your strongswan packages.
Insight
The strongSwan VPN suite is based on
the IPsec stack in standard Linux 2.6 kernels. It supports both the IKEv1 and IKEv2 protocols.
Affected
strongswan on Debian Linux
Detection
This check tests the installed software version using the apt package manager.
References
Updated on 2015-03-25
Severity
Classification
-
CVE CVE-2014-2338 -
CVSS Base Score: 6.4
AV:N/AC:L/Au:N/C:P/I:P/A:N
Related Vulnerabilities