GHSA-fv2h-753j-9g39

Suggest an improvement
Source
https://github.com/advisories/GHSA-fv2h-753j-9g39
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/09/GHSA-fv2h-753j-9g39/GHSA-fv2h-753j-9g39.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-fv2h-753j-9g39
Aliases
Published
2023-09-20T23:01:52Z
Modified
2024-10-14T18:39:06.970209Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
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

Database specific
{
    "nvd_published_at": "2023-09-19T15:15:52Z",
    "cwe_ids": [
        "CWE-289",
        "CWE-294"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2023-09-20T23:01:52Z"
}
References

Affected packages

NuGet / Sustainsys.Saml2

Package

Name
Sustainsys.Saml2
View open source insights on deps.dev
Purl
pkg:nuget/Sustainsys.Saml2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.3

Affected versions

0.*

0.23.0
0.24.0

1.*

1.0.0
1.0.1
1.0.2

NuGet / Sustainsys.Saml2

Package

Name
Sustainsys.Saml2
View open source insights on deps.dev
Purl
pkg:nuget/Sustainsys.Saml2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.0.0
Fixed
2.9.2

Affected versions

2.*

2.0.0
2.1.0
2.2.0
2.3.0
2.4.0
2.5.0
2.6.0
2.7.0
2.8.0
2.9.0
2.9.1

NuGet / Kentor.AuthServices

Package

Name
Kentor.AuthServices
View open source insights on deps.dev
Purl
pkg:nuget/Kentor.AuthServices

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.23.0

Affected versions

0.*

0.1.0
0.2.0
0.3.0
0.4.0
0.5.0
0.5.2
0.6.0
0.6.2
0.7.0
0.7.2
0.8.0
0.9.0
0.10.0
0.11.0
0.12.0
0.13.0
0.14.0
0.15.0
0.15.1
0.16.0
0.17.0
0.17.1
0.17.2
0.18.0
0.18.1
0.19.0
0.20.0
0.21.0
0.21.1
0.21.2
0.22.0
0.23.0