better-authで未検証の電話番号により乗っ取られる脆弱性
Summary
better-authの電話番号プラグインに認証の不備があり、未検証の電話番号が登録されたアカウントに被害者の電話番号を紐づけられる問題です。影響するのは1.8.0-beta.0以上1.8.0-beta.5未満で、1.8.0-beta.5以降に修正版があります。影響を受ける版をお使いの場合は、早めに修正版へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
better-authの電話番号プラグインに認証の不備があり、未検証の電話番号が登録されたアカウントに被害者の電話番号を紐づけられる問題です。影響するのは1.8.0-beta.0以上1.8.0-beta.5未満で、1.8.0-beta.5以降に修正版があります。影響を受ける版をお使いの場合は、早めに修正版へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| better-authbetter-auth |
≥ 1.8.0-beta.0, < 1.8.0-beta.5→ 1.8.0-beta.5 |
1.8.0-beta.5 |
Original description The description as published by the source.
better-auth 0.4.12-beta.7 before 1.7.16 and 1.8.0-beta.0 before 1.8.0-beta.5 contains an improper authentication vulnerability in the phone number plugin that lets sign-up and other flows save unverified phone numbers, which phone OTP sign-in then uses to select the account. Attackers can attach a victim's number to an attacker-controlled account so the victim's valid OTP sign-in yields a session for that account, exposing data the victim then enters.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- web github.com