Skip to content
OpenAdvisories
Medium · 5.3 CVE-2022-23505 EUVD-2022-7706GHSA-ppjq-qxhx-m25f

Passport-wsfed-saml2 vulnerable to Authentication Bypass for WSFed authentication

Published Dec 13, 2022 · Updated Apr 23, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
auth0 passport-wsfed-saml2 < 4.6.3 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm passport-wsfed-saml2 < 4.6.3 4.6.3 GHSA-ppjq-qxhx-m25f

References