| Title | 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 |
|---|
| Source | ⚠️ https://github.com/Gimanh/taskview-community/issues/141 |
|---|
| User | chenhuanlin (UID 100424) |
|---|
| Submission | 11/01/2026 15:49 (26 days ago) |
|---|
| Moderation | 11/27/2026 20:18 (26 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 444981 [Gimanh taskview-community up to 1.56.0 Magic-link Login AuthController.ts loginByCode excessive authentication] |
|---|
| Points | 20 |
|---|