Description (CNA)
Grav Plugin API (getgrav/grav-plugin-api) before 1.0.13 fails to enforce API-key scope caps in InvitationsController. The strip-super and accept-groups decisions are gated on a bare isSuperAdmin() check rather than a scope-aware permission check, so a least-privilege API key (scoped to api.users.write) minted on a super account can create an invitation record containing super-admin access flags. When the invitation is accepted, those flags are written verbatim to the new account, resulting in privilege escalation to a fully controlled super account.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| getgrav / grav | affected 0 before 1.0.13; unaffected 1.0.13 |
CWE
CWE-269
References
- https://github.com/getgrav/grav/security/advisories/GHSA-wvpj-fg8h-843q
- https://www.vulncheck.com/advisories/grav-before-api-key-scope-bypass-via-invitationscontroller
ADP enrichment
No English description supplied.
No references supplied.