CVE-2022-39299
Passport-SAML Unauthenticated SAML Authentication Bypass
Description
Passport-SAML is a SAML 2.0 authentication provider for Passport, the Node.js authentication library. A remote attacker may be able to bypass SAML authentication on a website using passport-saml. A successful attack requires that the attacker is in possession of an arbitrary IDP signed XML element. Depending on the IDP used, fully unauthenticated attacks (e.g without access to a valid user) might also be feasible if generation of a signed message can be triggered. Users should upgrade to passport-saml version 3.2.2 or newer. The issue was also present in the beta releases of `node-saml` before version 4.0.0-beta.5. If you cannot upgrade, disabling SAML authentication may be done as a workaround.
INFO
Published Date :
Oct. 12, 2022, 9:15 p.m.
Last Modified :
Jan. 20, 2023, 2:24 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
2.2
Public PoC/Exploit Available at Github
CVE-2022-39299 has a 4 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
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-39299
.
URL | Resource |
---|---|
http://packetstormsecurity.com/files/169826/Node-saml-Root-Element-Signature-Bypass.html | Third Party Advisory VDB Entry |
https://github.com/node-saml/passport-saml/commit/8b7e3f5a91c8e5ac7e890a0c90bc7491ce33155e | Patch Third Party Advisory |
https://github.com/node-saml/passport-saml/security/advisories/GHSA-m974-647v-whv7 | Third Party Advisory |
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).
A CLI tool to scan and fix your project's open-source vulnerabilities using Seal packages.
appsec cli cve fix hotfix patch remediation scan seal security update upgrade vulnerabilities
Go
None
None
A Simple CVE-2022-39299 PoC exploit generator to bypass authentication in SAML SSO Integrations using vulnerable versions of passport-saml
Python
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-39299
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-39299
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.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Modified Analysis by [email protected]
Jan. 20, 2023
Action Type Old Value New Value Changed Reference Type http://packetstormsecurity.com/files/169826/Node-saml-Root-Element-Signature-Bypass.html No Types Assigned http://packetstormsecurity.com/files/169826/Node-saml-Root-Element-Signature-Bypass.html Third Party Advisory, VDB Entry Added CWE NIST CWE-347 -
CVE Modified by [email protected]
Nov. 14, 2022
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/169826/Node-saml-Root-Element-Signature-Bypass.html [No Types Assigned] -
Initial Analysis by [email protected]
Oct. 14, 2022
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/node-saml/passport-saml/commit/8b7e3f5a91c8e5ac7e890a0c90bc7491ce33155e No Types Assigned https://github.com/node-saml/passport-saml/commit/8b7e3f5a91c8e5ac7e890a0c90bc7491ce33155e Patch, Third Party Advisory Changed Reference Type https://github.com/node-saml/passport-saml/security/advisories/GHSA-m974-647v-whv7 No Types Assigned https://github.com/node-saml/passport-saml/security/advisories/GHSA-m974-647v-whv7 Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:passport-saml_project:passport-saml:*:*:*:*:*:node.js:*:* versions up to (excluding) 3.2.2 *cpe:2.3:a:passport-saml_project:passport-saml:4.0.0:beta1:*:*:*:node.js:*:* *cpe:2.3:a:passport-saml_project:passport-saml:4.0.0:beta2:*:*:*:node.js:*:* *cpe:2.3:a:passport-saml_project:passport-saml:4.0.0:beta3:*:*:*:node.js:*:* *cpe:2.3:a:passport-saml_project:passport-saml:4.0.0:beta4:*:*:*:node.js:*:*
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-39299
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-39299
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.94 }} 0.15%
score
0.83074
percentile