CVE-2024-6322: Grafana plugin data sources vulnerable to access control bypass
4.4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.31167%
CWE
Published
8/20/2024
Updated
8/20/2024
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:L/A:L
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| github.com/grafana/grafana | go | = 11.1.0 | 11.1.1 |
| github.com/grafana/grafana | go | = 11.1.2 | 11.1.3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from RBAC checks not being scoped to specific resources. The patch introduced GetDataSourceRouteEvaluator/GetPluginRouteEvaluator to add scope identifiers (datasource UID/plugin ID) to permission evaluations. The original functions used generic EvalPermission checks that didn't enforce resource-specific constraints, enabling cross-datasource privilege escalation when users had matching action permissions elsewhere.