| 标题 | karakeep-app karakeep >= 0.3.0, <= 0.32.0 Improper Restriction of Excessive Authentication Attempts |
|---|
| 描述 | Karakeep (Affected >= 0.3.0, <= 0.32.0) exposes a public credential-based login endpoint through NextAuth's CredentialsProvider. Unlike the signup endpoint (users.create), which is protected by a createRateLimitMiddleware (3 requests / 60s) and optional Cloudflare Turnstile, the login path (authorize() in apps/web/server/auth.ts) enforces no rate limiting, no failed-attempt lockout, no CAPTCHA, and no exponential backoff. An unauthenticated attacker can send unlimited password guesses against any known email address.
Combined with the separately reported user/email enumeration on the signup endpoint (which confirms whether an email is registered), this yields a practical attack chain: enumerate valid emails → brute-force / credential-stuff their passwords with no throttling. The only slowdown is the bcrypt comparison cost factor (BCRYPT_SALT_ROUNDS = 10), which is insufficient to stop online guessing of weak or reused passwords. |
|---|
| 来源 | ⚠️ https://github.com/karakeep-app/karakeep/issues/2919 |
|---|
| 用户 | ZAST.AI (UID 87884) |
|---|
| 提交 | 2026-07-02 09時18分 (2 月前) |
|---|
| 管理 | 2026-08-18 06時30分 (2 months later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 391519 [karakeep-app karakeep 直到 0.32.0 Login Endpoint apps/web/server/auth.ts authorize 信息公开] |
|---|
| 积分 | 20 |
|---|