CVE-2022-39299
CVSS V2 None
CVSS V3 High 8.1
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.
Overview
- CVE ID
- CVE-2022-39299
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2022-10-12T21:15:09
- Last Modified Date
- 2023-01-20T14:24:17
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:passport-saml_project:passport-saml:*:*:*:*:*:node.js:*:* | 1 | OR | 3.2.2 | |
cpe:2.3:a:passport-saml_project:passport-saml:4.0.0:beta1:*:*:*:node.js:*:* | 1 | OR | ||
cpe:2.3:a:passport-saml_project:passport-saml:4.0.0:beta2:*:*:*:node.js:*:* | 1 | OR | ||
cpe:2.3:a:passport-saml_project:passport-saml:4.0.0:beta3:*:*:*:node.js:*:* | 1 | OR | ||
cpe:2.3:a:passport-saml_project:passport-saml:4.0.0:beta4:*:*:*:node.js:*:* | 1 | OR |
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- HIGH
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 8.1
- Base Severity
- HIGH
- Exploitability Score
- 2.2
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
http://packetstormsecurity.com/files/169826/Node-saml-Root-Element-Signature-Bypass.html | |
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 |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2022-39299 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-39299 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-10-12 22:00:22 | Added to TrackCVE | |||
2022-12-07 06:56:41 | 2022-10-12T21:15Z | 2022-10-12T21:15:09 | CVE Published Date | updated |
2022-12-07 06:56:41 | 2022-11-14T19:15:13 | CVE Modified Date | updated | |
2022-12-07 06:56:41 | Undergoing Analysis | Vulnerability Status | updated | |
2022-12-07 06:56:52 | References | updated | ||
2023-01-20 15:14:11 | 2023-01-20T14:24:17 | CVE Modified Date | updated | |
2023-01-20 15:14:11 | Undergoing Analysis | Analyzed | Vulnerability Status | updated |