CVE-2022-23505: Passport-wsfed-saml2 vulnerable to Authentication Bypass for WSFed authentication
Passport-wsfed-saml2 is a ws-federation protocol and SAML2 tokens authentication provider for Passport. In versions prior to 4.6.3, a remote attacker may be able to 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 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. This issue is patched in version 4.6.3. Use of SAML2 authentication instead of WSFed is a workaround.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2022-23505?
CVE-2022-23505 is considered a moderate severity vulnerability as it allows remote attackers to bypass WSFed authentication.
How do I fix CVE-2022-23505?
To fix CVE-2022-23505, you should upgrade to version 4.6.3 or later of the passport-wsfed-saml2 package.
What versions are affected by CVE-2022-23505?
CVE-2022-23505 affects all versions of passport-wsfed-saml2 prior to 4.6.3.
Can CVE-2022-23505 be exploited remotely?
Yes, CVE-2022-23505 can be exploited remotely by an attacker to bypass authentication.
What type of authentication is vulnerable in CVE-2022-23505?
CVE-2022-23505 specifically affects WSFed authentication implemented using the passport-wsfed-saml2 package.