Submit #877731: karakeep-app karakeep >= 0.3.0, <= 0.32.0 Improper Restriction of Excessive Authentication Attemptsinfo

Titelkarakeep-app karakeep >= 0.3.0, <= 0.32.0 Improper Restriction of Excessive Authentication Attempts
BeschreibungKarakeep (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.
Quelle⚠️ https://github.com/karakeep-app/karakeep/issues/2919
Benutzer
 ZAST.AI (UID 87884)
Einreichung02.07.2026 09:18 (vor 2 Monaten)
Moderieren18.08.2026 06:30 (2 months later)
StatusAkzeptiert
VulDB Eintrag391519 [karakeep-app karakeep bis 0.32.0 Login Endpoint apps/web/server/auth.ts authorize Information Disclosure]
Punkte20

Do you need the next level of professionalism?

Upgrade your account now!