Vulnerability Information
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
Better Auth: Account takeover via OAuth auto-link to unverified pre-registered email
Vulnerability Description
Better Auth is an authentication and authorization library for TypeScript. Prior to 1.6.11, Better Auth's OAuth callback auto-link gate in handleOAuthUserInfo accepts implicit account linking when the OAuth provider asserts email_verified: true without requiring the local user row's emailVerified field to also be true, allowing an attacker who pre-registers a victim email through /sign-up/email to bind the victim's OAuth identity to the attacker's account. The same primitive affects one-tap, and emailAndPassword.requireEmailVerification: true does not mitigate the link-time verification change. This issue is fixed in version 1.6.11.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/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.11之前版本存在安全漏洞,该漏洞源于OAuth回调自动链接门在handleOAuthUserInfo中接受隐式账户链接,当OAuth提供者断言email_verified为true时,无需本地用户行的emailVerified字段也为true,允许攻击者通过/sign-up/email预先注册受害者电子邮件,将受害者的OAuth身份绑定到攻击者的账户。
CVSS Information
N/A
Vulnerability Type
N/A