Vulnerability Details : CVE-2022-24812
Grafana is an open-source platform for monitoring and observability. When fine-grained access control is enabled and a client uses Grafana API Key to make requests, the permissions for that API Key are cached for 30 seconds for the given organization. Because of the way the cache ID is constructed, the consequent requests with any API Key evaluate to the same permissions as the previous requests. This can lead to an escalation of privileges, when for example a first request is made with Admin permissions, and the second request with different API Key is made with Viewer permissions, the second request will get the cached permissions from the previous Admin, essentially accessing higher privilege than it should. The vulnerability is only impacting Grafana Enterprise when the fine-grained access control beta feature is enabled and there are more than one API Keys in one organization with different roles assigned. All installations after Grafana Enterprise v8.1.0-beta1 should be upgraded as soon as possible. As an alternative, disable fine-grained access control will mitigate the vulnerability.
Products affected by CVE-2022-24812
- cpe:2.3:a:grafana:grafana:*:*:*:*:enterprise:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-24812
0.21%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 58 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-24812
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.0
|
MEDIUM | AV:N/AC:M/Au:S/C:P/I:P/A:P |
6.8
|
6.4
|
NIST | |
8.8
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
2.8
|
5.9
|
NIST | |
8.0
|
HIGH | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H |
1.3
|
6.0
|
GitHub, Inc. |
CWE ids for CVE-2022-24812
-
The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.Assigned by: security-advisories@github.com (Primary)
References for CVE-2022-24812
-
https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-4-6/
Release notes for Grafana 8.4.6 | Grafana LabsRelease Notes;Vendor Advisory
-
https://security.netapp.com/advisory/ntap-20220519-0005/
CVE-2022-24812 Grafana Vulnerability in NetApp Products | NetApp Product SecurityThird Party Advisory
-
https://github.com/grafana/grafana/security/advisories/GHSA-82gq-xfg3-5j7v
CVE-2022-24812: Grafana Enterprise fine-grained access control API Key privilege escalation · Advisory · grafana/grafana · GitHubPatch;Release Notes;Third Party Advisory
-
https://grafana.com/blog/2022/04/12/grafana-enterprise-8.4.6-released-with-high-severity-security-fix/
Grafana Enterprise 8.4.6 released with high severity security fix | Grafana LabsPatch;Release Notes;Vendor Advisory
Jump to