QID 983865

QID 983865: Dotnet (nuget) Security Update for Sustainsys.Saml2 (GHSA-9475-xg6m-j7pw)

Security update has been released for Sustainsys.Saml2 to fix the vulnerability. Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Saml2 tokens are usually used as bearer tokens - a caller that presents a token is assumed to be the subject of the token. There is also support in the Saml2 protocol for issuing tokens that is tied to a subject through other means, e.g. holder-of-key where possession of a private key must be proved. The Sustainsys.Saml2 library incorrectly treats all incoming tokens as bearer tokens, even though they have another subject confirmation method specified. This could be used by an attacker that could get access to Saml2 tokens with another subject confirmation method than bearer. The attacker could then use such a tocken to create a log in session.

  • CVSS V3 rated as High - 7.3 severity.
  • CVSS V2 rated as Medium - 4.9 severity.
  • Solution
    Version 1.0.2 and 2.7.0 are patched.Workaround:
    Ensure that any IdentityProvider trusted by the Sustainsys.Saml2 SP only issues bearer tokens if the audience matches the Sustainsys.Saml2 SP.
    Vendor References

    CVEs related to QID 983865

    Software Advisories
    Advisory ID Software Component Link
    GHSA-9475-xg6m-j7pw Sustainsys.Saml2 URL Logo github.com/advisories/GHSA-9475-xg6m-j7pw