SuperTokens Coreに認証を回避され別のIdPユーザーとしてログインされる脆弱性
Summary
SuperTokens CoreのSAML認証に脆弱性があり、攻撃者が検証されていないアサーションを使って、IdPの別のユーザーとしてサインインできるおそれがあります。影響を受けるのは11.3.0から11.3.8、11.4.8、12.0.11、12.1.2、12.2.1、12.3.1未満のバージョンで、11.3.8、11.4.8、12.0.11、12.1.2、12.2.1、12.3.1の各版で修正されています。SAML認証を使っている場合は、修正版への更新を急いでください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
SuperTokens CoreのSAML認証に脆弱性があり、攻撃者が検証されていないアサーションを使って、IdPの別のユーザーとしてサインインできるおそれがあります。影響を受けるのは11.3.0から11.3.8、11.4.8、12.0.11、12.1.2、12.2.1、12.3.1未満のバージョンで、11.3.8、11.4.8、12.0.11、12.1.2、12.2.1、12.3.1の各版で修正されています。SAML認証を使っている場合は、修正版への更新を急いでください。
Original description The description as published by the source.
SuperTokens Core is an open source authentication server. From 11.3.0 until 11.3.8, 11.4.8, 12.0.11, 12.1.2, 12.2.1, and 12.3.1, a licensed deployment with a configured SAML client can authenticate an identity from an assertion that did not satisfy the audience check. When the identity provider uses assertion-level signing, an attacker who has a still-valid IdP-signed assertion naming the victim for any audience and the attacker's own valid assertion for the target audience can combine them because validateSamlResponseAudience accepts an audience from one assertion while extractAllClaims takes the final NameID and attributes from another; response-level signing does not expose this multi-assertion variant. Independently, an assertion from an identity provider configured for the target deployment but issued to another SuperTokens deployment using the shared default saml_sp_entity_id can satisfy the target's audience check. Successful exploitation authenticates the attacker as the victim IdP user. This issue is fixed in versions 11.3.8, 11.4.8, 12.0.11, 12.1.2, 12.2.1, and 12.3.1.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com