CVE-2022-24812
Grafana Fine-Grained Access Control Privilege Escalation Vulnerability
Description
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.
INFO
Published Date :
April 12, 2022, 5:15 p.m.
Last Modified :
Sept. 9, 2022, 4:42 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
2.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-24812
.
URL | Resource |
---|---|
https://github.com/grafana/grafana/security/advisories/GHSA-82gq-xfg3-5j7v | Patch Release Notes Third Party Advisory |
https://grafana.com/blog/2022/04/12/grafana-enterprise-8.4.6-released-with-high-severity-security-fix/ | Patch Release Notes Vendor Advisory |
https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-4-6/ | Release Notes Vendor Advisory |
https://security.netapp.com/advisory/ntap-20220519-0005/ | Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-24812
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-24812
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Modified Analysis by [email protected]
Sep. 09, 2022
Action Type Old Value New Value Changed Reference Type https://security.netapp.com/advisory/ntap-20220519-0005/ No Types Assigned https://security.netapp.com/advisory/ntap-20220519-0005/ Third Party Advisory -
CVE Modified by [email protected]
May. 19, 2022
Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20220519-0005/ [No Types Assigned] -
Initial Analysis by [email protected]
Apr. 20, 2022
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:M/Au:S/C:P/I:P/A:P) Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/grafana/grafana/security/advisories/GHSA-82gq-xfg3-5j7v No Types Assigned https://github.com/grafana/grafana/security/advisories/GHSA-82gq-xfg3-5j7v Patch, Release Notes, Third Party Advisory Changed Reference Type https://grafana.com/blog/2022/04/12/grafana-enterprise-8.4.6-released-with-high-severity-security-fix/ No Types Assigned https://grafana.com/blog/2022/04/12/grafana-enterprise-8.4.6-released-with-high-severity-security-fix/ Patch, Release Notes, Vendor Advisory Changed Reference Type https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-4-6/ No Types Assigned https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-4-6/ Release Notes, Vendor Advisory Added CPE Configuration OR *cpe:2.3:a:grafana:grafana:*:*:*:*:enterprise:*:*:* versions from (including) 8.1.0 up to (excluding) 8.4.6
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-24812
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-24812
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.20 }} 0.03%
score
0.58185
percentile