phpMyFAQ - Unauthenticated Two-Factor Authentication Brute-Force via /admin/check Endpoint
thorsten phpmyfaq
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| thorsten/phpmyfaq Packagist |
|
|
| phpmyfaq/phpmyfaq Packagist |
|
|
thorsten phpmyfaq
| Product | Affected | Fixed in |
|---|---|---|
| thorsten/phpmyfaq Packagist |
|
|
| phpmyfaq/phpmyfaq Packagist |
|
|
phpMyFAQ before 4.1.2 contains an improper restriction of excessive authentication attempts vulnerability in the /admin/check endpoint, which accepts arbitrary user-id parameters without session binding or rate limiting. Unauthenticated attackers can brute-force any user's six-digit TOTP code by submitting POST requests with sequential token values, bypassing two-factor authentication to gain full administrative access.
From the CVE record · VulnCheck
phpMyFAQ before 4.1.2 does not bind user IDs to sessions or rate-limit authentication attempts at /admin/check. An unauthenticated remote attacker can brute-force a user's six-digit TOTP code with POST requests, bypass two-factor authentication, and gain full administrative access without user interaction.
Anyone running thorsten/phpmyfaq or phpmyfaq/phpmyfaq versions before 4.1.2 should check their installation.