{"id":"CVE-2022-23505","published":"2022-12-13T07:04:23Z","modified":"2025-04-23T16:28:35Z","title":"Passport-wsfed-saml2 vulnerable to Authentication Bypass for WSFed authentication","vendor":"auth0","product":"passport-wsfed-saml2","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00944,"percentile":0.59524,"provenance":"source"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"references":[{"url":"https://github.com/auth0/passport-wsfed-saml2/security/advisories/GHSA-ppjq-qxhx-m25f","tags":["x_refsource_CONFIRM"]}],"priority":{"score":15.6,"factors":[{"name":"EPSS percentile","points":11.9},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"auth0","affectedVersions":[{"vendor":"auth0","product":"passport-wsfed-saml2","versions":["< 4.6.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-23T15:47:12.786040Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"passport-wsfed-saml2","vulnerableRanges":["<4.6.3"],"patched":["4.6.3"],"from":["GHSA-ppjq-qxhx-m25f"],"provenance":"source"}],"summary":{"text":"The passport-wsfed-saml2 authentication provider for Passport, which handles WS-Federation and SAML2 token authentication, contains an authentication bypass flaw in its WSFed authentication handling. A remote attacker who already holds an arbitrary identity-provider-signed assertion can bypass WSFed authentication on a website using the library, and depending on the identity provider, an attacker without any valid user account may also succeed if generating a signed message can be triggered.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:33:51Z"},"euvd":{"id":"EUVD-2022-7706","exploited":false,"provenance":"source"}}