Grav API Plugin before 1.0.13 API-key scope cap bypass via ReportsController
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| getgrav | grav-plugin-api | unaffected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Getgrav | Grav |
|
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.346% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Grav before 1.0.13 API-key scope cap bypass via ReportsController | Grav API Plugin before 1.0.13 API-key scope cap bypass via ReportsController |
| First Time appeared |
Getgrav grav-plugin-api
|
|
| CPEs | cpe:2.3:a:getgrav:grav-plugin-api:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Getgrav grav-plugin-api
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | The getgrav/grav-plugin-api plugin before 1.0.13 contains an API-key scope cap bypass in the POST /reports/twig-content/allowlist endpoint (ReportsController). The endpoint enforces requirePermission('api.config.write') followed by a bare isSuperAdmin() check instead of requireSuper(). Because isSuperAdmin() reads access.api.super directly and never consults api_key_scopes, a least-privilege API key scoped to api.config.write minted on a super account passes the gate, allowing an attacker to append attacker-chosen tokens to the security.twig_sandbox allowlist (persisted to user/config/security.yaml). Widening the allowlist turns any subsequent Twig-in-content render into an SSTI/RCE sink. | |
| Title | Grav before 1.0.13 API-key scope cap bypass via ReportsController | |
| First Time appeared |
Getgrav
Getgrav grav |
|
| Weaknesses | CWE-862 | |
| CPEs | cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Getgrav
Getgrav grav |
|
| References |
| |
| Metrics |
cvssV3_1
|