CVE-2024-39694

Description

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.

Severity
MEDIUM
CVSS v3
4.7
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N · source cna
Exploit chance (EPSS)
0.534%
chance of exploitation in the next 30 days
higher than 45.7% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationnone
Automatableno
Technical impactpartial
Scored2024-07-31

Timeline

  1. 2024-07-31Published by the CNA15:44 UTC
  2. 2024-07-31GitHub advisory published (GHSA-ff4q-64jc-gx98)same day
  3. 2024-07-31CISA SSVC decision recordedsame day

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-ff4q-64jc-gx98, affected packages:

PackageVulnerable versionsFixed in
NuGet Duende.IdentityServerfrom 6.0.0-preview.1 before 6.0.56.0.5
NuGet Duende.IdentityServerfrom 6.1.0-preview.1 before 6.1.86.1.8
NuGet Duende.IdentityServerfrom 6.2.0-preview.1 before 6.2.56.2.5
NuGet Duende.IdentityServerfrom 6.3.0-preview.1 before 6.3.106.3.10
NuGet Duende.IdentityServerfrom 7.0.0-preview.1 before 7.0.67.0.6

1 more affected packages in the advisory.

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
duendesoftware identityserver

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources