Description
grav-plugin-api before 1.0.6 fails to validate super-admin status in createApiKey, generate2fa, and disable2fa endpoints, allowing non-super api.users.write managers to escalate to super-admin. Attackers can mint API keys bound to super-admin accounts or strip 2FA from super-admin users to achieve full instance takeover.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| getgrav | grav | < 1.0.6 | 1.0.6 |
References
- GitHub Security Advisory (GHSA-8gg4-rvvv-cq96) vendor-advisory
- VulnCheck Advisory: grav-plugin-api < 1.0.6 Privilege Escalation via createApiKey third-party-advisory