Bypass of "Max failed attempts" restriction via race condition
Mattermost
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/mattermost/mattermost/server/v8 Go |
|
|
Mattermost
| Product | Affected | Fixed in |
|---|---|---|
| github.com/mattermost/mattermost/server/v8 Go |
|
|
9.5.13| github.com/mattermost/mattermost-server Go |
|
|
| github.com/mattermost/mattermost-server/v5 Go |
| No fix yet |
| github.com/mattermost/mattermost-server/v6 Go |
| No fix yet |
Mattermost versions 10.1.x <= 10.1.2, 10.0.x <= 10.0.2, 9.11.x <= 9.11.4, and 9.5.x <= 9.5.12 fail to prevent concurrently checking and updating the failed login attempts. which allows an attacker to bypass of "Max failed attempts" restriction and send a big number of login attempts before being blocked via simultaneously sending multiple login requests
From the CVE record · Mattermost
Mattermost does not reliably check and update failed-login counts when login requests arrive concurrently. An unauthenticated attacker can send simultaneous login requests to exceed the “Max failed attempts” limit before being blocked; no user interaction is described.
Operators of Mattermost 10.1.x through 10.1.2, 10.0.x through 10.0.2, 9.11.x through 9.11.4, or 9.5.x through 9.5.12, and users of the listed Go packages, should check their versions; all versions of the v5 and v6 packages are listed as affected with no fix.