Files
wekan/server/lib
Lauri Ojansivu fd8b51464f Brake password guessing per account without locking the owner out.
The login lockouts count per address and per (account, address), so a
guesser spread over many addresses was never slowed, and a hard per-account
lockout would let a stranger lock the owner out (JamBleed). After five
failures on one account within 15 minutes, from anywhere, the account now
accepts one attempt per slot - 1 s doubling to 30 s - over REST and DDP
alike; an early attempt is refused before the password is looked at, and
addresses the account has signed in from are not slowed. Refusals show as
BruteBleed in Admin Panel -> Problems, naming the account as the target.

LDAPBleed and BruteBleed move to the guarded list.

Thanks to xet7 !
2026-10-02 14:27:59 +03:00
..