Authentication Bypass Vulnerability in strongswan

strongswan Updated 02 Oct 2025

Summary

16/11/2015
N/A
Yes i
Unrated
Not published

DSA-3398-1: strongswan - security update. Affects strongswan versions < 4.5.2-1.5+deb7u8. Fixed in 4.5.2-1.5+deb7u8. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

strongSwan is an IKE/IPsec suite that provides secure communication over the internet. It allows for the establishment of Virtual Private Networks (VPNs) and ensures the confidentiality, integrity, and authenticity of transmitted data. However, a vulnerability has been discovered in the EAP-MSCHAPv2 protocol implementation of the eap-mschapv2 plugin in strongSwan.

Vulnerability Detail

The server implementation of the EAP-MSCHAPv2 protocol in strongSwan is susceptible to an authentication bypass vulnerability. This vulnerability arises due to insufficient validation of the local state. An attacker can exploit this flaw to successfully conclude the authentication process without providing valid credentials. This can lead to unauthorized access and potential security breaches. The attack can be identified by checking the server logs for the following message: 'EAP method EAP_MSCHAPV2 succeeded, no MSK established'.

How To Fix

Minimum fixed version

4.5.2-1.5+deb7u8

This is the first release that contains the fix.

sudo apt-get install --only-upgrade strongswan

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

The authentication bypass vulnerability in strongSwan's EAP-MSCHAPv2 protocol implementation can allow attackers to bypass authentication and gain unauthorized access to the server. It is crucial to upgrade the strongswan package to the fixed versions mentioned to mitigate this vulnerability. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for strongswan →

Share this vulnerability

FAQ

strongSwan is an IKE/IPsec suite that provides secure communication over the internet. It is commonly used for establishing Virtual Private Networks (VPNs) and ensuring the confidentiality, integrity, and authenticity of transmitted data.

The EAP-MSCHAPv2 protocol is an authentication protocol used in strongSwan for secure communication. It allows clients to authenticate themselves to the server using their credentials.

You can identify if your strongSwan server is affected by checking the server logs for the following message during client authentication: 'EAP method EAP_MSCHAPV2 succeeded, no MSK established'. If this message is present, it indicates a successful authentication bypass attack.

This vulnerability can lead to unauthorized access to the strongSwan server, potentially resulting in security breaches and the compromise of sensitive data transmitted over the network.

To fix this vulnerability, it is recommended to upgrade the strongswan package to the fixed versions provided for each distribution. Refer to the 'how_to_fix' section for the specific versions.

How To Fix

Minimum fixed version

4.5.2-1.5+deb7u8

This is the first release that contains the fix.

sudo apt-get install --only-upgrade strongswan

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback