Advisory

GHSA-fv2h-753j-9g39

Also known as: CVE-2023-41890

Summary

Sustainsys.Saml2 Insufficient Identity Provider Issuer Validation

Details

Impact
When a response is processed, the issuer of the Identity Provider is not sufficiently validated. This could allow a malicious identity provider to craft a Saml2 response that is processed as if issued by another identity provider. It is also possible for a malicious end user to cause stored state intended for one identity provider to be used when processing the response from another provider.

An application is impacted if they rely on any of these features in their authentication/authorization logic:

  • the issuer of the generated identity and claims
  • items in the stored request state (AuthenticationProperties)

Patches
Patched in version 2.9.2 and 1.0.3. All previous versions are vulnerable.

Workarounds
The AcsCommandResultCreated notification can be used to add the validation required if an upgrade to patched packages is not possible.

References
The patch is linked to https://github.com/Sustainsys/Saml2/issues/712 and https://github.com/Sustainsys/Saml2/issues/713

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-09-20 23:01 UTC
Modified
2024-10-14 18:39 UTC

Affected packages and fixes

Sustainsys.Saml2

NuGet · All systems

Affected

  • introduced 0, fixed 1.0.3 (ecosystem)

Fixed versions

1.0.3

Fix

The export has no generic command for this ecosystem.

Sustainsys.Saml2

NuGet · All systems

Affected

  • introduced 2.0.0, fixed 2.9.2 (ecosystem)

Fixed versions

2.9.2

Fix

The export has no generic command for this ecosystem.

Kentor.AuthServices

NuGet · All systems

Affected

  • introduced 0, last affected 0.23.0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences