Vulnerability · Published Sep 22, 2022 · Assigned by GitHub_M

CVE-2022-36062Grafana folders admin only permission privilege escalation

High 7.6

In plain English

A high-severity security flaw in grafana from grafana. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 55% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.6High
Exploit odds (30 days)0.7%top 44.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Grafana is an open-source platform for monitoring and observability. In versions prior to 8.5.13, 9.0.9, and 9.1.6, Grafana is subject to Improper Preservation of Permissions resulting in privilege escalation on some folders where Admin is the only used permission. The vulnerability impacts Grafana instances where RBAC was disabled and enabled afterwards, as the migrations which are translating legacy folder permissions to RBAC permissions do not account for the scenario where the only user permission in the folder is Admin, as a result RBAC adds permissions for Editors and Viewers which allow them to edit and view folders accordingly. This issue has been patched in versions 8.5.13, 9.0.9, and 9.1.6. A workaround when the impacted folder/dashboard is known is to remove the additional permissions manually.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/grafana/grafana8.5.13GHSA-p978-56hq-r492
Gogithub.com/grafana/grafana9.0.9GHSA-p978-56hq-r492
Gogithub.com/grafana/grafana9.1.6GHSA-p978-56hq-r492
Gogithub.com/grafana/grafanano fix listedGO-2024-2854

Affected products (as reported)

VendorProductVersions
grafana grafana < 8.5.13>= 9.0.0, < 9.0.9>= 9.1.0, < 9.1.6

Weakness: CWE-281 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L

References