SecurityContext

CVE-2022-4967: strongSwan - Authorization Bypass

  • Cve: CVE-2022-4967
  • Name: strongSwan - 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).
  • Impact: Attackers can impersonate clients with arbitrary identities, potentially leading to unauthorized access and policy bypass.
  • Remediation: Upgrade to version 5.9.6 or later.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.00464
  • Epss percentile: 0.41015
  • Assignee: [email protected]
  • Published at: 2024-05-14T11:57:00Z
  • Age in days: 924
  • Modified at: 2026-06-17T05:22:26Z
  • Patch available: yes
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-4967
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
NVD-CWE-Other—

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/strongswan/strongswan/commit/e4b4aabc4996fc61c37deab7858d07bc4d220136Patch
https://www.strongswan.org/blog/2024/05/13/strongswan-vulnerability-(cve-2022-4967).htmlMitigation, Vendor Advisory
https://security.netapp.com/advisory/ntap-20240614-0006/Third Party Advisory
https://www.cve.org/CVERecord?id=CVE-2022-4967Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
strongswan:strongswan>= 5.9.2, < 5.9.6nonvd/v1/products/strongswan/strongswan

Projects

RepositoryLink kindsIndexedUrl
strongswan/strongswancommit, fixyes/v1/repositories/strongswan/strongswan

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts