{"id":"GHSA-ppjq-qxhx-m25f","summary":"Authentication Bypass for passport-wsfed-saml2","details":"# Overview\nA remote attacker can 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 WSFed 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.\n\n# Am I affected?\nYou are affected if you are using WSFed protocol with the passport-wsfed-saml2 library versions \u003c 4.6.3. \nSAML2 protocol is not affected. \n\n# How do I fix it?\nUpgrade the library to version 4.6.3.\n\n# Will the fix impact my users?\nNo, the fix will not impact your users. ","aliases":["CVE-2022-23505"],"modified":"2023-11-08T04:08:19.819021Z","published":"2022-12-13T17:16:36Z","database_specific":{"cwe_ids":["CWE-287"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2022-12-13T17:16:36Z","nvd_published_at":"2022-12-13T08:15:00Z"},"references":[{"type":"WEB","url":"https://github.com/auth0/passport-wsfed-saml2/security/advisories/GHSA-ppjq-qxhx-m25f"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23505"},{"type":"WEB","url":"https://github.com/auth0/passport-wsfed-saml2/pull/179"},{"type":"PACKAGE","url":"https://github.com/auth0/passport-wsfed-saml2"}],"affected":[{"package":{"name":"passport-wsfed-saml2","ecosystem":"npm","purl":"pkg:npm/passport-wsfed-saml2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.6.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-ppjq-qxhx-m25f/GHSA-ppjq-qxhx-m25f.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"}]}