Description
Listmonk 6.0.0 before 7.0.0-beta.2 contains a 2FA bypass vulnerability that allows attackers with a valid password to brute-force TOTP codes because the attempt counter resets on every new password login. Attackers can repeatedly submit credentials to POST /admin/login to obtain fresh tokens, each allowing 15 more guesses, gaining sessions for 2FA-protected accounts including Super Admin.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| knadh | listmonk | 6.0.0 – < 7.0.0-beta.2 | 7.0.0-beta.2 |
References
- https://github.com/knadh/listmonk/commit/3f62a55c13dbc679b29238e890e4b90d6d4996d8 patch
- listmonk v7.0.0-beta.2 Release Notes release-notes
- https://github.com/knadh/listmonk/blob/v7.0.0-beta.1/internal/tmptokens/tmptokens.go#L13-L88 technical-description
- https://github.com/knadh/listmonk/blob/v7.0.0-beta.1/cmd/auth.go#L514-L568 technical-description
- VulnCheck Advisory: listmonk 6.0.0 before 7.0.0-beta.2 TOTP Brute-Force via /admin/login/twofa third-party-advisory