Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-51987— HTTP Client uses incorrect token after refresh in Duende.AccessTokenManagement.OpenIdConnect

Quick assessment

Affected
DuendeSoftware Duende.AccessTokenManagement
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Duende.AccessTokenManagement是Duende开源的一个库。用于管理 OAuth 和 OpenId Connect 访问令牌。 Duende.AccessTokenManagement 3.0.1版本之前存在安全漏洞,该漏洞源于在令牌刷新后,由AddUserAccessTokenHttpClient创建的 HTTP 客户端可能会使用其他用户的访问令牌。

CVSS 5.4 · Medium EPSS 0.23% · P12
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-51987

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
HTTP Client uses incorrect token after refresh in Duende.AccessTokenManagement.OpenIdConnect
Source: CVE Program / CVE List V5
Vulnerability Description
Duende.AccessTokenManagement.OpenIdConnect is a set of .NET libraries that manage OAuth and OpenId Connect access tokens. HTTP Clients created by `AddUserAccessTokenHttpClient` may use a different user's access token after a token refresh occurs. This occurs because a refreshed token will be captured in pooled `HttpClient` instances, which may be used by a different user. Instead of using `AddUserAccessTokenHttpClient` to create an `HttpClient` that automatically adds a managed token to outgoing requests, you can use the `HttpConext.GetUserAccessTokenAsync` extension method or the `IUserTokenManagementService.GetAccessTokenAsync` method. This issue is fixed in Duende.AccessTokenManagement.OpenIdConnect 3.0.1. All users are advised to upgrade. There are no known workarounds for this vulnerability.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
特权上下文切换错误
Source: CVE Program / CVE List V5
Vulnerability Title
Duende.AccessTokenManagement 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Duende.AccessTokenManagement是Duende开源的一个库。用于管理 OAuth 和 OpenId Connect 访问令牌。 Duende.AccessTokenManagement 3.0.1版本之前存在安全漏洞,该漏洞源于在令牌刷新后,由AddUserAccessTokenHttpClient创建的 HTTP 客户端可能会使用其他用户的访问令牌。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
DuendeSoftware Duende.AccessTokenManagement = 3.0.0 -

II. Public POCs for CVE-2024-51987

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-51987

请登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2024-51987

No comments yet


Leave a comment