CVE-2020-5268

Source
https://nvd.nist.gov/vuln/detail/CVE-2020-5268
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-5268.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-5268
Aliases
Published
2020-04-21T17:15:13Z
Modified
2024-05-30T02:42:11.470119Z
Severity
  • 7.3 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/sustainsys/saml2

Affected ranges

Type
GIT
Repo
https://github.com/sustainsys/saml2
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.1.0
v0.10.0
v0.11.0
v0.12.0
v0.13.0
v0.14.0
v0.15.0
v0.15.1
v0.16.0
v0.17.0
v0.17.1
v0.17.2
v0.18.0
v0.18.1
v0.19.0
v0.2.0
v0.20.0
v0.21.0
v0.21.1
v0.21.2
v0.22.0
v0.23.0
v0.24.0
v0.3.0
v0.4.0
v0.5.0
v0.5.2
v0.6.0
v0.6.2
v0.7.0
v0.7.2
v0.8.0
v0.9.0

v1.*

v1.0.0

v2.*

v2.0.0
v2.1.0
v2.2.0
v2.3.0
v2.4.0