Skip to content

CVE-2022-23505 Passport-wsfed-saml2 vulnerable to Authentication Bypass for WSFed authentication

HighCVSS 7.5 EPSS 0.83%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
auth0 passport-wsfed-saml2 <= 4.6.2; = < 4.6.3 after 4.6.2 Fixed
npm passport-wsfed-saml2(npm) < 4.6.3 4.6.3 Fixed

Affected products

ProductAffected versionsFixed in
npm passport-wsfed-saml2(npm) < 4.6.3 4.6.3
auth0 passport-wsfed-saml2 = < 4.6.3 No fix listed
auth0 passport-wsfed-saml2 <= 4.6.2 No fix listed

References