| タイトル | BETTER-AUTH.のBetter Authにおける複数の脆弱性 |
|---|---|
| 概要 | Better AuthはTypeScript用の認証および認可ライブラリです。バージョン1.6.0から1.6.11の間、deviceAuthorizationプラグインは、GET /deviceがクレームを行わないため、認証されたセッションを保留中の任意のデバイスコードの所有者として扱っていました。また、POST /device/approveおよびPOST /device/denyはuserIdが未設定の場合にショートサーキットするため、有効なuser_codeを知っている認証済みの攻撃者がポーリングデバイスを攻撃者のアカウントに紐付けたり、正当なフローを拒否したりすることが可能でした。この問題はバージョン1.6.11で修正されています。 |
| 想定される影響 | ・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 ・当該ソフトウェアの一部が停止する可能性があります。 |
| 対策 | ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年7月15日0:00 |
| 登録日 | 2026年7月22日10:20 |
| 最終更新日 | 2026年7月22日10:20 |
| CVSS3.0 : 重要 | |
| スコア | 7.6 |
|---|---|
| ベクター | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L |
| BETTER-AUTH. |
| Better Auth 1.6.0 以上 1.6.11 未満 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年07月22日] 掲載 |
2026年7月22日10:20 |
| 概要 | 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. |
|---|---|
| 公表日 | 2026年7月16日3:16 |
| 登録日 | 2026年7月16日4:28 |
| 最終更新日 | 2026年7月16日3:16 |