| Titre | Gimanh taskview-community v1.56.0 Brute Force |
|---|
| Description | 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 |
|---|
| La source | ⚠️ https://github.com/Gimanh/taskview-community/issues/141 |
|---|
| Utilisateur | chenhuanlin (UID 100424) |
|---|
| Soumission | 01/11/2026 15:49 (il y a 26 jours) |
|---|
| Modérer | 27/11/2026 20:18 (26 days later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 444981 [Gimanh taskview-community jusqu’à 1.56.0 Magic-link Login AuthController.ts loginByCode divulgation d'information] |
|---|
| Points | 20 |
|---|