CVE-2022-36062

High

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.

SeverityHigh
CVSS7.6
Exploit probability—
ProductGrafana
PublishedSep 22, 2022
First seenSep 22, 2022
Weakness typeCWE-281CWE-281

How to fix

Update
  • grafana grafana8.5.13, 9.0.9, 9.1.6 or later
  • github.com/grafana/grafana8.5.13, 9.0.9, 9.1.6 or later

Affected products

ProductAffected versionsFixed in
grafana grafanav < 8.5.13, 9.0.0 ≤ v < 9.0.9, 9.1.0 ≤ v < 9.1.68.5.13, 9.0.9, 9.1.6
github.com/grafana/grafanaGo8.5.0 ≤ v < 8.5.13, 9.0.0 ≤ v < 9.0.9, 9.1.0 ≤ v < 9.1.6, No range specified8.5.13, 9.0.9, 9.1.6

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.