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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:grafana:grafana:*:*:*:*:enterprise:*:*:*

History

09 Sep 2022, 16:42

Type Values Removed Values Added
References (CONFIRM) https://security.netapp.com/advisory/ntap-20220519-0005/ - (CONFIRM) https://security.netapp.com/advisory/ntap-20220519-0005/ - Third Party Advisory

19 May 2022, 20:15

Type Values Removed Values Added
References
  • (CONFIRM) https://security.netapp.com/advisory/ntap-20220519-0005/ -

20 Apr 2022, 18:54

Type Values Removed Values Added
First Time Grafana
Grafana grafana
CPE cpe:2.3:a:grafana:grafana:*:*:*:*:enterprise:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : 6.0
v3 : 8.8
References (CONFIRM) https://github.com/grafana/grafana/security/advisories/GHSA-82gq-xfg3-5j7v - (CONFIRM) https://github.com/grafana/grafana/security/advisories/GHSA-82gq-xfg3-5j7v - Patch, Release Notes, Third Party Advisory
References (MISC) https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-4-6/ - (MISC) https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-4-6/ - Release Notes, Vendor Advisory
References (MISC) https://grafana.com/blog/2022/04/12/grafana-enterprise-8.4.6-released-with-high-severity-security-fix/ - (MISC) https://grafana.com/blog/2022/04/12/grafana-enterprise-8.4.6-released-with-high-severity-security-fix/ - Patch, Release Notes, Vendor Advisory

12 Apr 2022, 18:15

Type Values Removed Values Added
Summary 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. 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.

12 Apr 2022, 17:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-04-12 17:15

Updated : 2023-12-10 14:22


NVD link : CVE-2022-24812

Mitre link : CVE-2022-24812

CVE.ORG link : CVE-2022-24812


JSON object : View

Products Affected

grafana

  • grafana
CWE
CWE-269

Improper Privilege Management