Patchfirst
CVE-2020-5261 High · 8.2 EPSS 1.5%

Missing Token Replay Detection

Sustainsys · Saml2

Official description · CVE.org

Saml2 Authentication services for ASP.NET (NuGet package Sustainsys.Saml2) greater than 2.0.0, and less than version 2.5.0 has a faulty implementation of Token Replay Detection. Token Replay Detection is an important defence in depth measure for Single Sign On solutions. The 2.5.0 version is patched. Note that version 1.0.1 is not affected. It has a correct Token Replay Implementation and is safe to use. Saml2 Authentication services for ASP.NET (NuGet package Sustainsys.Saml2) greater than 2.0.0, and less than version 2.5.0 have a faulty implementation of Token Replay Detection. Token Replay Detection is an important defense measure for Single Sign On solutions. The 2.5.0 version is patched. Note that version 1.0.1 and prior versions are not affected. These versions have a correct Token Replay Implementation and are safe to use.

Breakdown
20.6 / 100
Exploited
Not confirmed
Reports
0
Tactics
3/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. How attackers get in

  2. What they do

Disclosed on 25 Mar 2020. No public exploit code or confirmed exploitation is recorded.

3 fixes in Sustainsys.Saml2 over 3 years. The latest fix listed for Sustainsys.Saml2 is 2.9.2.

Fixes in Sustainsys.Saml2NuGet package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 2.5.0CVE-2020-526125 Mar 2020
  2. 2.7.0CVE-2020-526821 Apr 2020
  3. 2.9.2CVE-2023-4189019 Sep 2023Latest listed

techniques

2 , grouped by in kill-chain order 2

Initial AccessTA0001

MITRE CTID mapping of the CVE · primary impact

Credential AccessTA0006

Network Sniffing T1040 also Discovery
MITRE CTID mapping of the CVE · how it is exploited

Detection

0 rules for this CVE · 158 general rules for its techniques

Rules for this CVE

0 that reference CVE-2020-5261 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: Sustainsys.Saml2.

NuGetSustainsys.Saml2GHSA-g6j2-ch25-5mmv

Upgrade to 2.5.0 or later

Set the version to 2.5.0 or later in your .csproj.

The first fix for CVE-2020-5261. No other CVE tracked by Patchfirst affects this package.

Affected versions

If you runUpgrade to
2.0.0 up to 2.5.02.5.0

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

References

3 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close