Description (CNA)
The Grav API plugin (getgrav/grav-plugin-api) before 1.0.6 contains an authorization bypass: API keys can be created with a restricted scopes array, but the ApiKeyAuthenticator class never reads or enforces these scopes. It loads and returns the owning user's full account object, so a key created with limited scopes (e.g. read-only) can perform any write, delete, or administrative operation the owning user is authorized for. Fixed in 1.0.6.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| getgrav / grav | affected 0 before 1.0.6; unaffected 1.0.6 |
CWE
CWE-863
References
- https://github.com/getgrav/grav/security/advisories/GHSA-x7hm-jc32-v39j
- https://www.vulncheck.com/advisories/grav-api-key-scope-bypass-via-apikeyauthenticator
ADP enrichment
No English description supplied.