GHSA-mfcp-34xw-p57x Authentication Bypass in saml2-js
Attackers can bypass authentication by reusing encrypted SAML assertion tokens due to missing condition enforcement in saml2-js.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-mfcp-34xw-p57x?
GHSA-mfcp-34xw-p57x is an authentication bypass vulnerability in saml2-js, published on 3 Sep 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Versions of saml2-js prior to 2.0.5 are vulnerable to an Authentication Bypass. The package fails to enforce the assertion conditions for encrypted assertions, which may allow an attacker to reuse encrypted assertion tokens indefinitely.
Recommendation
Upgrade to version 2.0.5 or later.
Which versions are affected by GHSA-mfcp-34xw-p57x?
2 open source packages ship an affected version, including saml2-js.
| Package | Affected | Fixed in |
|---|---|---|
saml2-js npm | All versions | 2.0.5 |
saml2-js npm | All versions | 2.0.5 |
How do I fix GHSA-mfcp-34xw-p57x?
Upgrade saml2-js to 2.0.5 or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is GHSA-mfcp-34xw-p57x being exploited?
There is no known exploitation of GHSA-mfcp-34xw-p57x in the wild and no public exploit code.