GitHub Advisoryadvisory · npm
GHSA-ppjq-qxhx-m25f Authentication Bypass for passport-wsfed-saml2
MEDIUM
Official page ↗
- Aliases
- CVE-2022-23505
- Ecosystem
- npm
- Packages
- passport-wsfed-saml2
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Weaknesses
- CWE-287
- Reviewed
- 2022-12-13
Affected packages
• npm passport-wsfed-saml2: < 4.6.3 → fixed in 4.6.3
Description
Overview
A remote attacker can bypass WSFed authentication on a website using passport-wsfed-saml2. A successful attack requires that the attacker is in possession of an arbitrary IDP signed WSFed assertion. 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.
Am I affected?
You are affected if you are using WSFed protocol with the passport-wsfed-saml2 library versions < 4.6.3.
SAML2 protocol is not affected.
How do I fix it?
Upgrade the library to version 4.6.3.
Will the fix impact my users?
No, the fix will not impact your users.
Related
Alias · CVE (1)
- CVE-2022-23505 Passport-wsfed-saml2 is a ws-federation protocol and SAML2 tokens authentication provider for Passport. vulnerability
Weakness · CWE (1)
- CWE-287 Improper Authentication weakness