| Título | Gimanh taskview-community v1.56.0 Brute Force |
|---|
| Descripción | 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 |
|---|
| Fuente | ⚠️ https://github.com/Gimanh/taskview-community/issues/141 |
|---|
| Usuario | chenhuanlin (UID 100424) |
|---|
| Sumisión | 2026-11-01 15:49 (hace 26 días) |
|---|
| Moderación | 2026-11-27 20:18 (26 days later) |
|---|
| Estado | Aceptado |
|---|
| Entrada de VulDB | 444981 [Gimanh taskview-community hasta 1.56.0 Magic-link Login AuthController.ts loginByCode divulgación de información] |
|---|
| Puntos | 20 |
|---|