SuperTokens Coreに認証を回避される脆弱性、SAML応答の署名検証に不備
Summary
SuperTokens Coreでは、SAMLの署名検証に不備があり、IdP(ID基盤)の一般ユーザーが別のユーザーとして認証される可能性があります。影響を受けるのは11.3.0から11.3.6、11.4.0から11.4.6、12.0.0から12.0.9で、修正版は11.3.7、11.4.7、12.0.10です。修正版へ更新してください。
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(ID基盤)の一般ユーザーが別のユーザーとして認証される可能性があります。影響を受けるのは11.3.0から11.3.6、11.4.0から11.4.6、12.0.0から12.0.9で、修正版は11.3.7、11.4.7、12.0.10です。修正版へ更新してください。
Original description The description as published by the source.
SuperTokens Core is an open source authentication server. From 11.3.0 until 11.3.7, 11.4.7, and 12.0.10, SAML.verifySamlResponseSignature calls OpenSAML SignatureValidator.validate without first applying SAMLSignatureProfileValidator. The Core can therefore accept a cryptographically valid signature that references a different XML element from the Response or Assertion whose NameID and attributes are used for authentication. An ordinary user of the configured identity provider can move a genuinely signed element elsewhere in the document while supplying an attacker-authored identity-bearing element, causing XML Signature Wrapping authentication as another IdP user. Both response-level and assertion-level signing paths are affected, and SP-initiated login remains reachable without enabling allowIDPInitiatedLogin. This issue is fixed in versions 11.3.7, 11.4.7, and 12.0.10.
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
- web github.com
- web github.com
- web github.com