| タイトル | Gimanh taskview-community v1.56.0 Brute Force |
|---|
| 説明 | taskview-community v1.56.0: the magic-link login code is generated by randomInt(100000,1000000) - only 900,000 six-digit combinations with a 5-minute TTL (api/src/tv-modules/auth/AuthController.ts, verified at tag v1.56.0). POST /module/auth/login-by-code has no failure counter, lockout or rate limiting; a wrong code returns 400 without invalidating the stored code, and the code is persisted to the DB before the email is sent (SMTP failure does not matter). An attacker seeds a code for a known victim email and brute-forces the space within the window; on success the server issues the victim's access and refresh tokens - full unauthenticated account takeover. The developer fixed the same weakness for password-change codes but missed the login code. Also affects master 90f55b0a. Publicly disclosed: https://github.com/Gimanh/taskview-community/issues/141 |
|---|
| ソース | ⚠️ https://github.com/Gimanh/taskview-community/issues/141 |
|---|
| ユーザー | chenhuanlin (UID 100424) |
|---|
| 送信 | 2026年11月01日 15:49 (26 日 ago) |
|---|
| モデレーション | 2026年11月27日 20:18 (26 days later) |
|---|
| ステータス | 承諾済み |
|---|
| VulDBエントリ | 444981 [Gimanh taskview-community 迄 1.56.0 Magic-link Login AuthController.ts loginByCode 情報漏えい] |
|---|
| ポイント | 20 |
|---|