CVE-2018-5389CVE-2018-5389
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.
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | isakmpd | Will not fix vulnerability in IKEv1 protocol, not fixable in implementation use strong passphrase or public-key cryptography | UBUNTU-CVE-2018-5389 | |
| Ubuntu 22.04 | libreswan | Will not fix vulnerability in IKEv1 protocol, not fixable in implementation use strong passphrase or public-key cryptography | UBUNTU-CVE-2018-5389 | |
| Ubuntu 22.04 | strongswan | Will not fix vulnerability in IKEv1 protocol, not fixable in implementation use strong passphrase or public-key cryptography | UBUNTU-CVE-2018-5389 | |
| Ubuntu 20.04 | isakmpd | Will not fix vulnerability in IKEv1 protocol, not fixable in implementation use strong passphrase or public-key cryptography | UBUNTU-CVE-2018-5389 | |
| Ubuntu 20.04 | libreswan | Will not fix vulnerability in IKEv1 protocol, not fixable in implementation use strong passphrase or public-key cryptography | UBUNTU-CVE-2018-5389 | |
| Ubuntu 20.04 | strongswan | Will not fix vulnerability in IKEv1 protocol, not fixable in implementation use strong passphrase or public-key cryptography | UBUNTU-CVE-2018-5389 | |
| Ubuntu 18.04 | ipsec-tools | Will not fix vulnerability in IKEv1 protocol, not fixable in implementation use strong passphrase or public-key cryptography | UBUNTU-CVE-2018-5389 | |
| Ubuntu 18.04 | isakmpd | Will not fix vulnerability in IKEv1 protocol, not fixable in implementation use strong passphrase or public-key cryptography | UBUNTU-CVE-2018-5389 | |
| Ubuntu 18.04 | libreswan | Will not fix vulnerability in IKEv1 protocol, not fixable in implementation use strong passphrase or public-key cryptography | UBUNTU-CVE-2018-5389 | |
| Ubuntu 18.04 | strongswan | Fix pending | UBUNTU-CVE-2018-5389 | |
| Ubuntu 16.04 | ipsec-tools | Will not fix vulnerability in IKEv1 protocol, not fixable in implementation use strong passphrase or public-key cryptography | UBUNTU-CVE-2018-5389 | |
| Ubuntu 16.04 | isakmpd | Will not fix vulnerability in IKEv1 protocol, not fixable in implementation use strong passphrase or public-key cryptography | UBUNTU-CVE-2018-5389 | |
| Ubuntu 16.04 | strongswan | Will not fix vulnerability in IKEv1 protocol, not fixable in implementation use strong passphrase or public-key cryptography | UBUNTU-CVE-2018-5389 | |
| Ubuntu 14.04 | ipsec-tools | Will not fix vulnerability in IKEv1 protocol, not fixable in implementation use strong passphrase or public-key cryptography | ||
| Ubuntu 14.04 | isakmpd | Will not fix vulnerability in IKEv1 protocol, not fixable in implementation use strong passphrase or public-key cryptography | ||
| Ubuntu 14.04 | strongswan | Fix pending | UBUNTU-CVE-2018-5389 | |
| Debian 14 | strongswan | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2018-5389 | |
| Debian 13 | libreswan | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2018-5389 | |
| Debian 13 | strongswan | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2018-5389 | |
| Debian 12 | libreswan | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2018-5389 | |
| Debian 12 | strongswan | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2018-5389 | |
| Red Hat Enterprise Linux 8 | libreswan | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | libreswan | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | libreswan | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | openswan | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | openswan-doc | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 5 | ipsec-tools | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 5 | openswan | Will not fix Will not fix |
What the vendor says
As published in the CVE record by certcc, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Strongswan: affected: 5.5.1
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.