Description (CNA)
phpMyFAQ from 4.2.0-alpha.2 before 4.2.0-beta lacks brute-force lockout in the removeTwofactorConfig() 2FA removal endpoint, allowing authenticated attackers to guess TOTP codes without limit. Attackers holding a hijacked session and CSRF token can repeatedly POST guesses to /api/user/remove-twofactor to permanently disable the victim's 2FA.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| thorsten / phpMyFAQ | affected 4.2.0-alpha.2 before 4.2.0-beta; unaffected 4.2.0-beta |
CWE
CWE-307
References
- https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-7pjw-6v4g-f837
- https://www.vulncheck.com/advisories/phpmyfaq-4.2.0-alpha.2-before-4.2.0-beta-2fa-brute-force-via-remove-twofactor-endpoint
ADP enrichment
No English description supplied.