CVE-2023-41890: Sustainsys.Saml2 Insufficient Identity Provider Issuer Validation

Published Sep 19, 2023
·
Updated

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

Other sources

Sustainsys.Saml2 library adds SAML2P support to ASP.NET web sites, allowing the web site to act as a SAML2 Service Provider. Prior to versions 1.0.3 and 2.9.2, 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; or items in the stored request state (AuthenticationProperties). This issue is patched in versions 2.9.2 and 1.0.3. The AcsCommandResultCreated notification can be used to add the validation required if an upgrade to patched packages is not possible.

NVD

Affected Software

7 affected componentsFixes available
nuget/Kentor.AuthServices<=0.23.0
nuget/Sustainsys.Saml2>=2.0.0<2.9.2
2.9.2
nuget/Sustainsys.Saml2<1.0.3
1.0.3
Sustainsys Saml2<1.0.3
Sustainsys Saml2>=2.0.0<2.9.2
simplesamlphp SAML2<1.0.3
simplesamlphp SAML2>=2.0.0<2.9.2

Event History

Sep 19, 2023
CVE Published
via MITRE·02:38 PM
Data Sourced
via MITRE·02:38 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Sep 20, 2023
Advisory Published
via GitHub·11:01 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2023-41890?

CVE-2023-41890 is a vulnerability in the Sustainsys.Saml2 library that allows a malicious identity provider to craft a Saml2 response that is processed as if issued by another identity provider.

2

How does CVE-2023-41890 impact ASP.NET web sites?

CVE-2023-41890 allows a malicious identity provider or end user to exploit the vulnerability, potentially leading to unauthorized access or impersonation.

3

What is the severity of CVE-2023-41890?

CVE-2023-41890 has a severity rating of 7.5 (high).

4

How can I fix CVE-2023-41890 in my ASP.NET web site?

To fix CVE-2023-41890, update the Sustainsys.Saml2 library to version 2.9.2 or apply the appropriate remedy provided by Sustainsys.

5

Where can I find more information about CVE-2023-41890?

You can find more information about CVE-2023-41890 on the official GitHub page of Sustainsys.Saml2 library.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203