{"id":"CVE-2024-39694","published":"2024-07-31T15:44:55Z","modified":"2024-07-31T16:51:46Z","title":"Duende IdentityServer Open Redirect vulnerability","vendor":"DuendeSoftware","product":"IdentityServer","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00534,"percentile":0.45975,"provenance":"source"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"references":[{"url":"https://github.com/DuendeSoftware/IdentityServer/security/advisories/GHSA-ff4q-64jc-gx98","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/DuendeSoftware/IdentityServer/commit/269ca2171fe1e901c87f2f0797bbc7c230db87c6","tags":["x_refsource_MISC"]},{"url":"https://github.com/DuendeSoftware/IdentityServer/commit/765116a2d4fb0671b6eba015e698533900c61c8e","tags":["x_refsource_MISC"]},{"url":"https://github.com/DuendeSoftware/IdentityServer/commit/d0d8eab35ad9183b14925496803ed8b36658d0a1","tags":["x_refsource_MISC"]},{"url":"https://github.com/DuendeSoftware/IdentityServer/commit/f04cf0be859b93f43563f8f812eb92206ad94011","tags":["x_refsource_MISC"]},{"url":"https://github.com/DuendeSoftware/IdentityServer/commit/fe817b499933d6ed6141b153492d7335c28b184a","tags":["x_refsource_MISC"]}],"priority":{"score":12.5,"factors":[{"name":"EPSS percentile","points":9.2},{"name":"CVSS severity","points":3.29}]},"vendorSlug":"duendesoftware","affectedVersions":[{"vendor":"DuendeSoftware","product":"IdentityServer","versions":["< 6.0.5",">= 6.1.0-preview.1, <= 6.1.7",">= 6.2.0-preview.1, <= 6.2.4",">= 6.3.0-preview.1, <= 6.3.9",">= 7.0.0-preview.1, <= 7.0.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-07-31T16:51:39.130222Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"NuGet","package":"Duende.IdentityServer","vulnerableRanges":[">=7.0.0-preview.1, <7.0.6",">=6.3.0-preview.1, <6.3.10",">=6.2.0-preview.1, <6.2.5",">=6.1.0-preview.1, <6.1.8",">=6.0.0-preview.1, <6.0.5"],"patched":["7.0.6","6.3.10","6.2.5","6.1.8","6.0.5"],"from":["GHSA-ff4q-64jc-gx98"],"provenance":"source"},{"ecosystem":"NuGet","package":"IdentityServer4","vulnerableRanges":["<=4.1.2"],"patched":[],"from":["GHSA-ff4q-64jc-gx98"],"provenance":"source"}],"summary":{"text":"The Duende IdentityServer product (an OpenID Connect and OAuth 2.x framework for ASP.NET Core) contains an open redirect flaw in which crafted URLs are incorrectly treated as local and trusted by certain functions, causing them to be returned as redirects. An unauthenticated remote attacker can exploit this by luring a user to click a crafted link, after which some browsers redirect them to an untrusted third-party site; this does not by itself expose credentials or tokens but can be used in phishing attacks.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:52:51Z"},"euvd":{"id":"EUVD-2024-2334","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-39694","published":"2024-07-31","fixed":"7.0.6","kev":false},{"cve":"CVE-2024-49755","published":"2024-10-28","fixed":"7.0.8","kev":false,"link":{"from":"CVE-2024-39694","to":"CVE-2024-49755","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"NuGet:Duende.IdentityServer","fromFixed":"7.0.6","toFixed":"7.0.8","daysApart":89}]}}],"package":"NuGet:Duende.IdentityServer"}}