| 제목 | 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. PM 03:49 (26 날 ago) |
|---|
| 모더레이션 | 2026. 11. 27. PM 08:18 (26 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 444981 [Gimanh taskview-community 까지 1.56.0 Magic-link Login AuthController.ts loginByCode 정보 공개] |
|---|
| 포인트들 | 20 |
|---|