CVE-2020-5268 Details
Description
In Saml2 Authentication Services for ASP.NET versions before 1.0.2, and between 2.0.0 and 2.6.0, there is a vulnerability in how tokens are validated in some cases. Saml2 tokens are usually used as bearer tokens - a caller that presents a token is assumed to be the subject of the token. There is also support in the Saml2 protocol for issuing tokens that is tied to a subject through other means, e.g. holder-of-key where possession of a private key must be proved. The Sustainsys.Saml2 library incorrectly treats all incoming tokens as bearer tokens, even though they have another subject confirmation method specified. This could be used by an attacker that could get access to Saml2 tokens with another subject confirmation method than bearer. The attacker could then use such a token to create a log in session. This vulnerability is patched in versions 1.0.2 and 2.7.0.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Sustainsys/Saml2/commit/e58e0a1aff2b1ead6aca080b7cdced55ee6d5241 | CVE | PatchThird Party Advisory |
| https://github.com/Sustainsys/Saml2/issues/712 | CVE | Third Party Advisory |
| https://github.com/Sustainsys/Saml2/security/advisories/GHSA-9475-xg6m-j7pw | CVE | MitigationThird Party Advisory |
| https://www.nuget.org/packages/Sustainsys.Saml2/ | CVE | Third Party Advisory |
| https://github.com/Sustainsys/Saml2/commit/e58e0a1aff2b1ead6aca080b7cdced55ee6d5241 | [email protected] | PatchThird Party Advisory |
| https://github.com/Sustainsys/Saml2/issues/712 | [email protected] | Third Party Advisory |
| https://github.com/Sustainsys/Saml2/security/advisories/GHSA-9475-xg6m-j7pw | [email protected] | MitigationThird Party Advisory |
| https://www.nuget.org/packages/Sustainsys.Saml2/ | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-287 | Improper Authentication | [email protected] |
| CWE-303 | Incorrect Implementation of Authentication Algorithm | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| sustainsys saml2 | < 1.0.2 >= 2.0.0, < 2.7.0 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| May 6, 2020 | Reanalysis | [email protected] |
| Apr 30, 2020 | Initial Analysis | [email protected] |
| Apr 23, 2020 | CVE Modified | [email protected] |
| Apr 23, 2020 | CVE Modified | [email protected] |