| tiêu đề | blinkospace blinko 1.8.8 Improper Authentication |
|---|
| Mô tả | Blinko 1.8.8 contains an unauthenticated 2FA bypass in the POST /api/auth/verify-2fa endpoint. The endpoint accepts a caller-supplied userId without requiring an existing session or proof that the password step was completed, and it does not check whether two-factor authentication is enabled. When the target account has no twoFactorSecret configured, the TOTP is verified against an empty string (config.twoFactorSecret ?? ''), which otplib 12 treats as an empty HMAC key. A remote unauthenticated attacker can therefore compute the expected six-digit TOTP offline and exchange it for a 30-day session JWT with twoFactorVerified: true, resulting in account takeover. Because the first registered account is typically the superadmin (id=1) and account IDs are exposed by the public user list, this can lead to full administrative compromise; the endpoint also silently rotates the account's apiToken. |
|---|
| Nguồn | ⚠️ https://gist.github.com/DReazer/fcc654ac4997e73cf2fed5127321dafa |
|---|
| Người dùng | Snkn0w (UID 90071) |
|---|
| Đệ trình | 21/10/2026 13:59 (cách đây 1 tháng) |
|---|
| Kiểm duyệt | 19/11/2026 23:32 (29 days later) |
|---|
| Trạng thái | được chấp nhận |
|---|
| Mục VulDB | 440924 [blinkospace blinko đến 1.8.8 2FA Endpoint /api/auth/verify-2fa userId xác thực yếu] |
|---|
| điểm | 20 |
|---|