GitHub Advisory Database
GHSA-hh8p-374f-qgr5
Grafana plugin data sources vulnerable to access control bypass
Details
Access control for plugin data sources protected by the ReqActions json field of the plugin.json is bypassed if the user or service account is granted associated access to any other data source, as the ReqActions check was not scoped to each specific datasource. The account must have prior query access to the impacted datasource.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/grafana/grafana | From 11.1.0 before 11.1.1 (fixed in 11.1.1) |
| Go | github.com/grafana/grafana | From 11.1.2 before 11.1.3 (fixed in 11.1.3) |
| Go | github.com/grafana/grafana | From 0.0.0-20240521130516-0072e4a92d89 before 0.0.0-20240725142242-c326d865c58b (fixed in 0.0.0-20240725142242-c326d865c58b) |
| Go | github.com/grafana/grafana | From 1.9.2-0.20240521130516-0072e4a92d89 before 1.9.2-0.20240725142242-c326d865c58b (fixed in 1.9.2-0.20240725142242-c326d865c58b) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-6322
- https://github.com/grafana/grafana/commit/4cb3ba5d1a7ab8b9676034e89dada2fcde1766ef
- https://github.com/grafana/grafana/commit/9cdba084a9100c6b11d32eef9d2bd53656c6964a
- https://github.com/grafana/grafana
- https://grafana.com/security/security-advisories/cve-2024-6322