Description
The Internet Key Exchange v1 main mode is vulnerable to offline dictionary or brute force attacks. Reusing a key pair across different versions and modes of IKE could lead to cross-protocol authentication bypasses. It is well known, that the aggressive mode of IKEv1 PSK is vulnerable to offline dictionary or brute force attacks. For the main mode, however, only an online attack against PSK authentication was thought to be feasible. This vulnerability could allow an attacker to recover a weak Pre-Shared Key or enable the impersonation of a victim host or network.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| strongSwan | Strongswan | 5.5.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | strongswan | No fix yet | — |
| Debian 13 | libreswan +1 | No fix yet | — |
| Debian 12 | libreswan +1 | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | isakmpd +2 | No fix yet | — |
| Ubuntu 20.04 LTS | isakmpd +2 | No fix yet | — |
| Ubuntu 18.04 LTS | isakmpd +2 | No fix yet | — |
| Ubuntu 16.04 LTS | isakmpd +1 | No fix yet | — |
Show 9 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro FIPS 20.04 LTS | strongswan | No fix yet | — |
| Ubuntu Pro FIPS 18.04 LTS | strongswan | No fix yet | — |
| Ubuntu Pro FIPS 16.04 LTS | strongswan | No fix yet | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | strongswan | No fix yet | — |
| Ubuntu Pro FIPS-updates 18.04 LTS | strongswan | No fix yet | — |
| Ubuntu Pro FIPS-updates 16.04 LTS | strongswan | No fix yet | — |
| Ubuntu Pro 18.04 LTS | strongswan | No fix yet | — |
| Ubuntu Pro 16.04 LTS | strongswan | No fix yet | — |
| Ubuntu Pro 14.04 LTS | strongswan | No fix yet | — |
References
- https://www.usenix.org/system/files/conference/usenixsecurity18/sec18-felsch.pdf
- https://www.kb.cert.org/vuls/id/857035
- https://web-in-security.blogspot.com/2018/08/practical-dictionary-attack-on-ipsec-ike.html
- https://blogs.cisco.com/security/great-cipher-but-where-did-you-get-that-key
- https://my.f5.com/manage/s/article/K42378447