Improper Restriction of Excessive Authentication Attempts in phpMyFAQ - #VU164477
Published: November 10, 2026
Vulnerability details
The vulnerability allows a remote attacker to permanently disable two-factor authentication on a compromised account.
The vulnerability exists due to improper restriction of excessive authentication attempts in phpMyFAQ's removeTwofactorConfig() endpoint when validating codes for two-factor authentication removal, with neither lockout nor rate limiting enforced. A remote attacker can use an already-authenticated victim session and its removal CSRF token to submit unlimited code guesses to POST /api/user/remove-twofactor until a valid code disables the account's two-factor authentication.