CVE-2023-41890
C# vulnerability analysis and mitigation

Overview

Sustainsys.Saml2 library, which adds SAML2P support to ASP.NET web sites allowing them to act as SAML2 Service Providers, contained a vulnerability related to insufficient validation of Identity Provider issuers. The vulnerability was discovered in versions prior to 1.0.3 and 2.9.2, and was disclosed on September 19, 2023. The issue affects all versions of the library before the patched versions (GitHub Advisory).

Technical details

When processing a response, the issuer of the Identity Provider is not sufficiently validated. This vulnerability has a CVSS v3.1 Base Score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N. The vulnerability is classified under CWE-289 (Authentication Bypass by Alternate Name) and CWE-294 (Authentication Bypass by Capture-replay) (NVD).

Impact

The vulnerability could allow a malicious identity provider to craft a Saml2 response that would be processed as if it were issued by another identity provider. Additionally, malicious end users could potentially cause stored state intended for one identity provider to be used when processing the response from another provider. Applications are impacted if they rely on either the issuer of the generated identity and claims, or items in the stored request state (AuthenticationProperties) (GitHub Advisory).

Exploitability

The vulnerability is exploitable over the network and requires no privileges or user interaction. The attack complexity is considered low, indicating that the vulnerability is relatively straightforward to exploit (NVD).

Mitigation and workarounds

The vulnerability has been patched in versions 2.9.2 and 1.0.3. For users unable to upgrade, a workaround is available through the AcsCommandResultCreated notification, which can be used to add the required validation (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related C# vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-pfvm-w89x-94jwHIGH7.5
  • C# logoC#
  • SIPSorcery
NoYesAug 12, 2026
CVE-2026-48798HIGH7.1
  • C# logoC#
  • SSH.NET
NoYesAug 18, 2026
CVE-2026-54570MEDIUM6.9
  • C# logoC#
  • AngleSharp
NoYesAug 18, 2026
CVE-2026-73851MEDIUM6.1
  • C# logoC#
  • Microsoft.OpenApi.Kiota
NoYesAug 17, 2026
CVE-2026-48796MEDIUM5.3
  • C# logoC#
  • CefSharp.Common
NoYesAug 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management