CVE-2015-4171
NoneCVSS
—
EPSS
2.0%
Published
Jun 10, 2015
CISA due date
—
Cloudanix analysis
A VPN setup could hand over login details to an impostor server before verifying the server is legitimate.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Moderate
- Impact
- Data Exposure
- Component
- Network Service
- Class
- Information Disclosure
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The flaw allows a remote server presenting a valid certificate to complete IKEv2 authentication using EAP or pre-shared keys without enforcing server authentication restrictions until the full process finishes, after which the client responses containing credentials can be read by the server.
Why it matters to the business
Attackers can obtain VPN authentication credentials, enabling unauthorized network access and potential lateral movement or data exposure in environments relying on the affected VPN components.
How an attack unfolds
An attacker hosts a server that supplies a certificate accepted by the client, initiates an IKEv2 session, and captures credential material sent during the incomplete authentication exchange before restrictions are applied.
How to fix it
Upgrade crowbar/barclamp-trove to commit 932298f250365fed6963700870e52db3a7a32daa and crowbar/crowbar-openstack to commit 208230bdfbcb19d062149d083b1a66b429516a69; verify the updated packages are deployed across all affected systems and restart related services.
How to confirm the fix worked
Confirm package versions match the listed fixed commits, review strongSwan configuration for EAP and pre-shared key usage, and test that server authentication is enforced at the start of IKEv2 exchanges.
Typical attack path
- Attacker provisions a server presenting a certificate chain accepted by the client implementation.
- Victim client initiates an IKEv2 connection to the attacker's server using EAP or pre-shared key authentication.
- Server participates in the exchange without full server authentication enforcement.
- Client transmits credential responses that the server records before authentication completes.
- Attacker uses captured credentials for subsequent unauthorized access.
How to detect it
Review VPN client logs for IKEv2 sessions with unexpected certificate subjects or servers, inspect authentication response artifacts, and correlate with network flows to untrusted endpoints during the vulnerable period.
What your security team should do
- Apply the specified commit upgrades immediately on all instances of the affected packages.
- Audit VPN connection logs for unexpected remote servers and credential exposure indicators.
- Enforce certificate pinning or additional server identity checks in client configurations where possible.
- Monitor for any downstream dependents that may inherit the vulnerable strongSwan behavior.
The record
strongSwan 4.3.0 through 5.x before 5.3.2 and strongSwan VPN Client before 1.4.6, when using EAP or pre-shared keys for authenticating an IKEv2 connection, does not enforce server authentication restrictions until the entire authentication process is complete, which allows remote servers to obtain credentials by using a valid certificate and then reading the responses.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | strongswan | 0 | 5.3.1-1 |
| Debian:12 | strongswan | 0 | 5.3.1-1 |
| Debian:13 | strongswan | 0 | 5.3.1-1 |
| Debian:6.0 | strongswan | 0 | 4.4.1-5.7 |
| Debian:7 | strongswan | 0 | 4.5.2-1.5+deb7u7 |
| Debian:8 | strongswan | 0 | 5.2.1-6+deb8u1 |
| SUSE:Linux Enterprise Desktop 12 | strongswan | 0 | 5.1.3-18.1 |
| SUSE:Linux Enterprise Server 11 SP4 | strongswan | 0 | 4.4.0-6.29.2 |
| SUSE:Linux Enterprise Server 12 | strongswan | 0 | 5.1.3-18.1 |
| SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | strongswan | 0 | 4.4.0-6.29.2 |
| SUSE:Linux Enterprise Server for SAP Applications 12 | strongswan | 0 | 5.1.3-18.1 |
| Ubuntu:14.04:LTS | strongswan | 0 | 5.1.2-0ubuntu2.3 |
| Ubuntu:16.04:LTS | strongswan | 0 | 5.1.2-0ubuntu6 |
| openSUSE:Tumbleweed | strongswan | 0 | 5.3.5-1.1 |
Related vulnerabilities
- CVE-2017-11185 The gmp plugin in strongSwan before 5.6.0 allows remote attackers to cause a denial of… Also affects strongswan
- CVE-2017-9022 The gmp plugin in strongSwan before 5.5.3 does not properly validate RSA public keys… Also affects strongswan
- CVE-2015-8023 The server implementation of the EAP-MSCHAPv2 protocol in the eap-mschapv2 plugin in… Also affects strongswan
- CVE-2014-9221 strongSwan 4.5.x through 5.2.x before 5.2.1 allows remote attackers to cause a denial of… Also affects strongswan
- CVE-2022-4967 strongSwan versions 5.9.2 through 5.9.5 are affected by authorization bypass through… Also affects strongswan
- CVE-2026-25075 strongSwan versions 4.5.0 prior to 6.0.5 contain an integer underflow vulnerability in… Also affects strongswan
- CVE-2025-9615 A flaw was found in NetworkManager. Also affects strongswan
- CVE-2025-62291 In the eap-mschapv2 plugin (client-side) in strongSwan before 6.0.3, a malicious… Also affects strongswan