漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Better Auth: Device authorization approve and deny accept any authenticated session while the user code is pending
Vulnerability Description
Better Auth is an authentication and authorization library for TypeScript. From 1.6.0 until 1.6.11, the deviceAuthorization plugin treats any authenticated session as the owner of any pending device code because GET /device does not claim the row and POST /device/approve and POST /device/deny short-circuit when userId is unset, allowing an authenticated attacker who learns a valid user_code to bind the polling device to the attacker's account or deny the legitimate flow. This issue is fixed in version 1.6.11.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L
Vulnerability Type
授权机制不恰当
Vulnerability Title
Better Auth 授权问题漏洞
Vulnerability Description
better-auth better-auth是better-auth的防病毒反病毒产品。 Better Auth 1.6.0版本至1.6.11之前版本存在安全漏洞,该漏洞源于deviceAuthorization插件中GET /device未声明行且POST /device/approve和POST /device/deny在userId未设置时短路,允许已认证的攻击者在获知有效user_code后将轮询设备绑定至攻击者账户或阻止合法流程。
CVSS Information
N/A
Vulnerability Type
N/A