Description (CNA)
Grav API plugin before v1.0.0-rc.16 accepts JWT tokens via the ?token= URL query parameter and responds with Access-Control-Allow-Origin: *, allowing unauthenticated attackers to make fully authenticated cross-origin API requests from any malicious website. Attackers who obtain a leaked JWT token from access logs, proxy logs, browser history, or Referrer headers can create persistent backdoor super-admin accounts and exfiltrate sensitive configuration and user data.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| getgrav / grav | affected 0 through 1.0.0-rc.15 |
CWE
CWE-598
References
- https://github.com/getgrav/grav/security/advisories/GHSA-hqm9-5xxw-4qxp
- https://www.vulncheck.com/advisories/grav-api-plugin-cross-origin-admin-account-takeover-via-cors-wildcard-and-jwt-query-parameter
ADP enrichment
No English description supplied.