{"id":"CVE-2024-49755","aliases":["CVE-2024-49755","GHSA-v9xq-2mvm-x8xc"],"related":[],"kind":"vulnerability","state":"published","title":"Duende IdentityServer has insufficient validation of DPoP cnf claim in Local APIs","summary":"Duende IdentityServer is an OpenID Connect and OAuth 2.x framework for ASP.NET Core. IdentityServer's local API authentication handler performs insufficient validation of the cnf claim in DPoP access tokens. This allows an attacker to use leaked DPoP access tokens at local api endpoints even without possessing the private key for signing proof tokens. Note that this only impacts custom endpoints within an IdentityServer implementation that have explicitly used the LocalApiAuthenticationHandler for authentication. This vulnerability is patched in IdentityServer 7.0.8. Version 6.3 and below are unaffected, as they do not support DPoP in Local APIs.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Duende IdentityServer is an OpenID Connect and OAuth 2.x framework for ASP.NET Core. IdentityServer's local API authentication handler performs insufficient validation of the cnf claim in DPoP access tokens. This allows an attacker to use leaked DPoP access tokens at local api endpoints even without possessing the private key for signing proof tokens. Note that this only impacts custom endpoints within an IdentityServer implementation that have explicitly used the LocalApiAuthenticationHandler for authentication. This vulnerability is patched in IdentityServer 7.0.8. Version 6.3 and below are unaffected, as they do not support DPoP in Local APIs.","source":"cvelist"},{"lang":"en","text":"### Impact\nIdentityServer's local API authentication handler performs insufficient validation of the `cnf` claim in DPoP access tokens. This allows an attacker to use leaked DPoP access tokens at local api endpoints even without possessing the private key for signing proof tokens.\n\nNote that this only impacts custom endpoints within an IdentityServer implementation that have explicitly used the `LocalApiAuthenticationHandler` for authentication. It does not impact:\n- OAuth or OIDC protocol endpoints defined by IdentityServer, such as the authorize and token endpoints.\n- Typical UI pages within an IdentityServer implementation, which are not normally authorized with the local API authentication handler.\n- The use of DPoP to create sender-constrained tokens in IdentityServer that are consumed by external API resources.\n- The use of DPoP to sender-constrain refresh tokens issued to public clients.\n\n## Are you affected?\n\nThis vulnerability only affects IdentityServer implementations that are using the local APIs feature of IdentityServer and have explicitly enabled DPoP for local APIs. The local api authentication handler is configured with a call to either `AddLocalApi` or `AddLocalApiAuthentication`, and the opt-in to DPoP for local APIs is enabled via the `TokenMode` option. \n\nVulnerable implementations of IdentityServer would have configuration code similar to the following:\n\n```cs\nservices.AddAuthentication()\n    .AddLocalApi(\"local\", options => \n    {\n        options.TokenMode = LocalApiTokenMode.DPoPAndBearer; // or LocalApiTokenMode.DPoPOnly\n    });\n```\n\n### Patches\nThis vulnerability is patched in IdentityServer 7.0.8. Version 6.3 and below are unaffected, as they do not support DPoP in Local APIs.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Duende IdentityServer es un framework de trabajo de OpenID Connect y OAuth 2.x para ASP.NET Core. El controlador de autenticación de API local de IdentityServer realiza una validación insuficiente de la reclamación cnf en tokens de acceso DPoP. Esto permite que un atacante utilice tokens de acceso DPoP filtrados en endpoints de API locales incluso sin poseer la clave privada para firmar tokens de prueba. Tenga en cuenta que esto solo afecta a los endpoints personalizados dentro de una implementación de IdentityServer que hayan utilizado explícitamente LocalApiAuthenticationHandler para la autenticación. Esta vulnerabilidad está corregida en IdentityServer 7.0.8. La versión 6.3 y anteriores no se ven afectadas, ya que no admiten DPoP en API locales.","source":"nvd"}],"published":"2024-10-28T19:44:10.000Z","modified":"2026-06-17T08:00:23.273Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","score":3.1,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","score":3.1,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","score":3.1,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","rating":"LOW"}],"cwes":["CWE-287"],"affected":[{"ranges":[{"version":">= 7.0.0, < 7.0.8","status":"affected"}],"vendor":"DuendeSoftware","product":"IdentityServer","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"7.0.0","status":"affected","fixed":"7.0.8"}],"ecosystem":"NuGet","package":"Duende.IdentityServer","purl":"pkg:nuget/Duende.IdentityServer","source":"ghsa"}],"references":[{"url":"https://github.com/DuendeSoftware/IdentityServer/security/advisories/GHSA-v9xq-2mvm-x8xc","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/DuendeSoftware/IdentityServer/commit/f28cac921c1f545afe65af71a9327224755b6dac","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49755","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/DuendeSoftware/IdentityServer","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-10-29T17:54:15.796Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-49755","url":"https://www.cve.org/CVERecord?id=CVE-2024-49755","licence":"CVE Terms of Use","modified":"2024-10-29T17:54:35.440Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-v9xq-2mvm-x8xc","url":"https://github.com/advisories/GHSA-v9xq-2mvm-x8xc","licence":"CC-BY-4.0","modified":"2024-10-28T22:00:54.470Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-49755","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49755","licence":"Public domain","modified":"2026-06-17T08:00:23.273Z"}],"updatedAt":"2026-11-25T22:58:47.409Z","epss":{"score":0.00348,"percentile":0.30441,"date":"2026-12-01T12:00:22.000Z"}}