Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| getgrav / grav | affected 0 before 1.0.6; unaffected 1.0.6 |
CWE
CWE-639, CWE-862
References
- https://github.com/getgrav/grav/security/advisories/GHSA-8gg4-rvvv-cq96
- https://www.vulncheck.com/advisories/grav-plugin-api-privilege-escalation-via-createapikey
ADP enrichment
No English description supplied.
No references supplied.