CVE-2022-23505

MEDIUM

passport-wsfed-saml2 < 4.6.3 - Authentication Bypass via IDP Signed Assertion

Title source: llm
STIX 2.1

Description

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.

References (1)

Core 1
Core References

Scores

CVSS v3 5.3
EPSS 0.0040
EPSS Percentile 61.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-287
Status published
Products (2)
auth0/passport-wsfed-saml2 < 4.6.2
npm/passport-wsfed-saml2 0 - 4.6.3npm
Published Dec 13, 2022
Tracked Since Feb 18, 2026