CVE-2022-4967
strongSwan Certificate Authorization Bypass
Description
strongSwan versions 5.9.2 through 5.9.5 are affected by authorization bypass through improper validation of certificate with host mismatch (CWE-297). When certificates are used to authenticate clients in TLS-based EAP methods, the IKE or EAP identity supplied by a client is not enforced to be contained in the client's certificate. So clients can authenticate with any trusted certificate and claim an arbitrary IKE/EAP identity as their own. This is problematic if the identity is used to make policy decisions. A fix was released in strongSwan version 5.9.6 in August 2022 (e4b4aabc4996fc61c37deab7858d07bc4d220136).
INFO
Published Date :
May 14, 2024, 11:57 a.m.
Last Modified :
Aug. 22, 2025, 3:04 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
Affected Products
The following products are affected by CVE-2022-4967
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 3.1 | HIGH | [email protected] |
Solution
- Update the affected packages.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-4967
.
URL | Resource |
---|---|
https://github.com/strongswan/strongswan/commit/e4b4aabc4996fc61c37deab7858d07bc4d220136 | Patch |
https://security.netapp.com/advisory/ntap-20240614-0006/ | Third Party Advisory |
https://www.cve.org/CVERecord?id=CVE-2022-4967 | Third Party Advisory |
https://www.strongswan.org/blog/2024/05/13/strongswan-vulnerability-(cve-2022-4967).html | Mitigation Vendor Advisory |
https://github.com/strongswan/strongswan/commit/e4b4aabc4996fc61c37deab7858d07bc4d220136 | Patch |
https://security.netapp.com/advisory/ntap-20240614-0006/ | Third Party Advisory |
https://www.cve.org/CVERecord?id=CVE-2022-4967 | Third Party Advisory |
https://www.strongswan.org/blog/2024/05/13/strongswan-vulnerability-(cve-2022-4967).html | Mitigation Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-4967
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-4967
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-4967
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-4967
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Aug. 22, 2025
Action Type Old Value New Value Added CWE NVD-CWE-Other Added CPE Configuration OR *cpe:2.3:a:strongswan:strongswan:*:*:*:*:*:*:*:* versions from (including) 5.9.2 up to (excluding) 5.9.6 Added Reference Type CVE: https://github.com/strongswan/strongswan/commit/e4b4aabc4996fc61c37deab7858d07bc4d220136 Types: Patch Added Reference Type Canonical Ltd.: https://github.com/strongswan/strongswan/commit/e4b4aabc4996fc61c37deab7858d07bc4d220136 Types: Patch Added Reference Type CVE: https://security.netapp.com/advisory/ntap-20240614-0006/ Types: Third Party Advisory Added Reference Type Canonical Ltd.: https://security.netapp.com/advisory/ntap-20240614-0006/ Types: Third Party Advisory Added Reference Type CVE: https://www.cve.org/CVERecord?id=CVE-2022-4967 Types: Third Party Advisory Added Reference Type Canonical Ltd.: https://www.cve.org/CVERecord?id=CVE-2022-4967 Types: Third Party Advisory Added Reference Type CVE: https://www.strongswan.org/blog/2024/05/13/strongswan-vulnerability-(cve-2022-4967).html Types: Mitigation, Vendor Advisory Added Reference Type Canonical Ltd.: https://www.strongswan.org/blog/2024/05/13/strongswan-vulnerability-(cve-2022-4967).html Types: Mitigation, Vendor Advisory -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/strongswan/strongswan/commit/e4b4aabc4996fc61c37deab7858d07bc4d220136 Added Reference https://security.netapp.com/advisory/ntap-20240614-0006/ Added Reference https://www.cve.org/CVERecord?id=CVE-2022-4967 Added Reference https://www.strongswan.org/blog/2024/05/13/strongswan-vulnerability-(cve-2022-4967).html -
CVE Modified by [email protected]
Jun. 14, 2024
Action Type Old Value New Value Added Reference Canonical Ltd. https://security.netapp.com/advisory/ntap-20240614-0006/ [No types assigned] -
CVE Received by [email protected]
May. 14, 2024
Action Type Old Value New Value Added Description strongSwan versions 5.9.2 through 5.9.5 are affected by authorization bypass through improper validation of certificate with host mismatch (CWE-297). When certificates are used to authenticate clients in TLS-based EAP methods, the IKE or EAP identity supplied by a client is not enforced to be contained in the client's certificate. So clients can authenticate with any trusted certificate and claim an arbitrary IKE/EAP identity as their own. This is problematic if the identity is used to make policy decisions. A fix was released in strongSwan version 5.9.6 in August 2022 (e4b4aabc4996fc61c37deab7858d07bc4d220136). Added Reference Canonical Ltd. https://github.com/strongswan/strongswan/commit/e4b4aabc4996fc61c37deab7858d07bc4d220136 [No types assigned] Added Reference Canonical Ltd. https://www.strongswan.org/blog/2024/05/13/strongswan-vulnerability-(cve-2022-4967).html [No types assigned] Added Reference Canonical Ltd. https://www.cve.org/CVERecord?id=CVE-2022-4967 [No types assigned] Added CVSS V3.1 Canonical Ltd. AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N