Duende IdentityServer Open Redirect vulnerability
DuendeSoftware IdentityServer
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Duende.IdentityServer NuGet |
|
|
DuendeSoftware IdentityServer
| Product | Affected | Fixed in |
|---|---|---|
| Duende.IdentityServer NuGet |
|
|
6.1.86.0.5| IdentityServer4 NuGet |
| No fix yet |
Duende IdentityServer is an OpenID Connect and OAuth 2.x framework for ASP.NET Core. It is possible for an attacker to craft malicious Urls that certain functions in IdentityServer will incorrectly treat as local and trusted. If such a Url is returned as a redirect, some browsers will follow it to a third-party, untrusted site. Note: by itself, this vulnerability does **not** allow an attacker to obtain user credentials, authorization codes, access tokens, refresh tokens, or identity tokens. An attacker could however exploit this vulnerability as part of a phishing attack designed to steal user credentials. This vulnerability is fixed in 7.0.6, 6.3.10, 6.2.5, 6.1.8, and 6.0.5. Duende.IdentityServer 5.1 and earlier and all versions of IdentityServer4 are no longer supported and will not be receiving updates. If upgrading is not possible, use `IUrlHelper.IsLocalUrl` from ASP.NET Core to validate return Urls in user interface code in the IdentityServer host.
From the CVE record · GitHub_M
Certain IdentityServer functions can incorrectly treat attacker-crafted URLs as local and trusted. If such a URL is returned as a redirect, some browsers may send users to an untrusted site, enabling phishing; this flaw alone does not expose credentials or tokens.
Teams running affected NuGet Duende.IdentityServer versions from 6.0.0-preview.1 through versions before 6.0.5, 6.1.8, 6.2.5, 6.3.10, or 7.0.6 on their respective release lines, or any version of IdentityServer4, should check their deployments.