Description (CNA)
phpMyFAQ 3.2.0 before 4.1.9 and 4.2.0-alpha before 4.2.0-beta contains an insecure direct object reference vulnerability in GET /admin/api/user/data/{userId}, which returns any user's full faquserdata row, including the live TOTP secret, without a SuperAdmin or protected-target check. Delegated administrators with user-management rights can read a SuperAdmin's TOTP secret and generate valid codes to bypass two-factor authentication.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| thorsten / phpMyFAQ | affected 3.2.0 before 4.1.9; unaffected 4.1.9 |
| thorsten / phpMyFAQ | affected 4.2.0-alpha before 4.2.0-beta; unaffected 4.2.0-beta |
CWE
CWE-639
References
- https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-hp8j-w94m-j5c7
- https://www.vulncheck.com/advisories/phpmyfaq-3.2.0-before-4.1.9-and-4.2.0-alpha-before-4.2.0-beta-idor-leaks-totp-secret-via-admin-api-user-data
ADP enrichment
No English description supplied.