Advisory

GHSA-ppjq-qxhx-m25f

Also known as: CVE-2022-23505

Summary

Authentication Bypass for passport-wsfed-saml2

Details

Overview
A 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.

Am I affected?
You are affected if you are using WSFed protocol with the passport-wsfed-saml2 library versions < 4.6.3.
SAML2 protocol is not affected.

How do I fix it?
Upgrade the library to version 4.6.3.

Will the fix impact my users?
No, the fix will not impact your users.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-12-13 17:16 UTC
Modified
2023-11-08 04:08 UTC

Affected packages and fixes

passport-wsfed-saml2

npm · All systems

Affected

  • introduced 0, fixed 4.6.3 (semver)

Fixed versions

4.6.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences