Skip to main content
← All vulnerabilities
CVE-2024-39694GHSA-FF4Q-64JC-GX98

Duende IdentityServer Open Redirect vulnerability

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.0.5, 7.0.6, 6.3.10, 6.2.5, 6.1.8
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • DuendeSoftware IdentityServer

    fixed in 6.0.5; From 6.1.0-preview.1 · through 6.1.7; From 6.2.0-preview.1 · through 6.2.4; From 6.3.0-preview.1 · through 6.3.9; From 7.0.0-preview.1 · through 7.0.5

  • Duende.IdentityServerNuGet

    From 7.0.0-preview.1 · fixed in 7.0.6

  • Duende.IdentityServerNuGet

    From 6.3.0-preview.1 · fixed in 6.3.10

  • Duende.IdentityServerNuGet

    From 6.2.0-preview.1 · fixed in 6.2.5

  • Duende.IdentityServerNuGet

    From 6.1.0-preview.1 · fixed in 6.1.8

  • Duende.IdentityServerNuGet

    From 6.0.0-preview.1 · fixed in 6.0.5

  • IdentityServer4NuGet

    through 4.1.2

References 6

GitHub · DuendeSoftware/IdentityServer