Bug #14676
closedAuthentication throttle time is based on time of previous login attempt
0%
Description
When doing a second throttling authentication attempt immediately after a first one, the remaining throttling time of the first one is subtracted from the second.
E.g.: with the default throttling times of 1 and then 5 seconds, the second throttling attempt only delays for 4 instead of 5 seconds.
Cause: both PasswordService::verifyPassword() as TotpProcess::verifyCode() first call AuthThrottle::delayForNextAttempt(), which compares with User::lastLoginAttempt(). This is set in User.setAuthenticated(), which is only called after calculating the delay.
RP Updated by Raf Pauwels 4 months ago
- Subject changed from MFA throttle time is based on time of previous login attempt to Authentication throttle time is based on time of previous login attempt
RM Updated by Romain Mardulyn 4 months ago
- Private changed from No to Yes
RM Updated by Romain Mardulyn 4 months ago
- Assignee set to Romain Mardulyn
- Target version set to 4.14.1
RM Updated by Romain Mardulyn 4 months ago ยท Edited
I do see a bug with TOTP throttling but not for passwords throttling.
For TOTP throttling, the biggest bug is actually that submitting a code while prevented to by throttling is counted as a attempt, therefor increasing the amount of time to wait before being able to make another attempt. This must be quite frustrating for users.
For the rest, it was only impacting the visual part. It was not really allowing a user to bypass the throttling.
RM Updated by Romain Mardulyn 4 months ago
- Status changed from New to InProgress
RM Updated by Romain Mardulyn 4 months ago
- Status changed from InProgress to Review
- Assignee deleted (
Romain Mardulyn)
ED Updated by emil de keyser 4 months ago
- Assignee set to emil de keyser
ED Updated by emil de keyser 3 months ago
- Status changed from Review to Resolved
- Assignee changed from emil de keyser to Romain Mardulyn
RM Updated by Romain Mardulyn 3 months ago
- Status changed from Resolved to Implemented @Emweb
- Private changed from Yes to No
RM Updated by Romain Mardulyn 3 months ago
- Status changed from Implemented @Emweb to Closed