Snipe-IT: TOTP Brute-Forceable Due to Missing Rate Limiting on `POST /two-factor`
grokability snipe-it
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| snipe/snipe-it Packagist |
|
|
Original description
Snipe-IT is an IT asset/license management system. Prior to 8.6.1, POST /two-factor has no rate limiting, lockout, or attempt counter, allowing an attacker with valid credentials to submit unlimited TOTP guesses against the three accepted codes created by config/google2fa.php window=1. A successful guess creates a fully authenticated session. When two_factor_enabled is 1, POST /account/profile with two_factor_optin=0 can disable two-factor authentication without OTP reverification, while required mode 2 prevents that opt-out. An administrator can also use POST /api/v1/users/two_factor_reset to clear another user's secret. This issue is fixed in version 8.6.1.
From the CVE record · GitHub_M