CVE-2023-41890
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of data tampering.
- Exploit odds
- 0.8% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.8% in the next 30 days (EPSS).
- Severity: 7.5 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.8% · EPSS, next 30 days
- Weakness
- CWE-289
- Record status
- Modified
Affected
- Sustainsys saml2 < 1.0.3
- Sustainsys saml2 < 2.9.2
Attack profile CVSS 3.1 · 7.5
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2023-41890.md and follow it. Check whether this project is affected by CVE-2023-41890. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/Sustainsys/Saml2/issues/712
- https://github.com/Sustainsys/Saml2/issues/713
- https://github.com/Sustainsys/Saml2/security/advisories/GHSA-fv2h-753j-9g39
- https://github.com/Sustainsys/Saml2/issues/712
- https://github.com/Sustainsys/Saml2/issues/713
- https://github.com/Sustainsys/Saml2/security/advisories/GHSA-fv2h-753j-9g39
References
- https://github.com/Sustainsys/Saml2/issues/712
- https://github.com/Sustainsys/Saml2/issues/713
- https://github.com/Sustainsys/Saml2/security/advisories/GHSA-fv2h-753j-9g39
- https://github.com/Sustainsys/Saml2/issues/712
- https://github.com/Sustainsys/Saml2/issues/713
- https://github.com/Sustainsys/Saml2/security/advisories/GHSA-fv2h-753j-9g39