Vulnerability in Sustainsys Saml2
CVE-2023-41890
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.008, 55.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Sustainsys Saml2 — versions < 1.0.3, >= 2.0.0, < 2.9.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cve-scores). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- https://github.com/Sustainsys/Saml2/security/advisories/GHSA-fv2h-753j-9g39 (Third Party Advisory)
- https://github.com/Sustainsys/Saml2/issues/712 (Patch, Issue Tracking)
- https://github.com/Sustainsys/Saml2/issues/713 (Patch, Issue Tracking)