Description
phpMyFAQ before 4.1.5 contains a privilege escalation vulnerability in the user/add API endpoint that allows non-SuperAdmin administrators to create SuperAdmin accounts. A delegated administrator with USER_ADD/EDIT/DELETE permissions can call POST /admin/api/user/add with isSuperAdmin: true and attacker-chosen credentials to create a SuperAdmin account, then authenticate as that account to achieve full instance takeover.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| phpMyFAQ | phpMyFAQ | < 4.1.5 | 4.1.5 |
References
- GitHub Security Advisory (GHSA-r2f4-v277-hvw9) vendor-advisory
- VulnCheck Advisory: phpMyFAQ - Privilege Escalation via Missing SuperAdmin Guard in user/add Endpoint third-party-advisory