A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
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, SAML.handleCallback does not consume RelayState, record assertion identifiers, or enforce Response.InResponseTo. In the SP-initiated flow, an attacker who obtains a legitimately issued, still-valid SAML response and its matching RelayState can resubmit the pair to /recipe/saml/callback before the assertion's NotOnOrAfter time; in the IdP-initiated flow, the assertion can be replayed without RelayState. The missing Response.InResponseTo check also permits an in-progress login to be completed with an assertion for a different identity and fails to enforce allowIDPInitiatedLogin=false. The callback does not validate Destination or SubjectConfirmationData Recipient and NotOnOrAfter, and each accepted callback mints a fresh, independently redeemable authorization code carrying the captured user's identity. 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.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /supertokens/supertokens-core/commit/075655222f5e72f3683a12…
- github.com /supertokens/supertokens-core/commit/4e05d8cf60287e9d272014…
- github.com /supertokens/supertokens-core/commit/557835406547d269f5d0e3…
- github.com /supertokens/supertokens-core/commit/5c42f02e98f67174c6a5a8…
- github.com /supertokens/supertokens-core/commit/b6730e608b2d4562939cd4…
- github.com /supertokens/supertokens-core/commit/ca2bca9bc900c2fd399d50…
- github.com /supertokens/supertokens-core/releases/tag/v11.3.8
- github.com /supertokens/supertokens-core/releases/tag/v11.4.8
- github.com /supertokens/supertokens-core/releases/tag/v12.0.11
- github.com /supertokens/supertokens-core/releases/tag/v12.1.2
- github.com /supertokens/supertokens-core/releases/tag/v12.2.1
- github.com /supertokens/supertokens-core/releases/tag/v12.3.1
- github.com /supertokens/supertokens-core/security/advisories/GHSA-3r7x…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning