7.6high

CVE-2022-36062

Grafana folders admin only permission privilege escalation

Also known as GHSA-p978-56hq-r492, GO-2024-2854

Published 4 y ago · modified 4 d ago · JSON

CVSS
7.6
v3.1 · CNA
CISA KEV
No
not known exploited
EPSS
0.7%
percentile 55%
Public exploits
0
none known

Summary

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.

CISA SSVC assessment

Exploitation
none
Automatable
no
Technical impact
total
Assessed
9 mo ago

Exploit prediction (EPSS)

0.75% probability of exploitation in the next 30 days, higher than 55% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
CNA3.17.6CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
CNA3.17.6CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
NVD3.13.8CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
GitHub3.17.6CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L

Affected packages

EcosystemPackageAffectedFixed in
gogithub.com/grafana/grafana
>=8.5.0, <8.5.13
>=9.0.0, <9.0.9
>=9.1.0, <9.1.6
all versions
8.5.13
9.0.9
9.1.6

Affected products

  • grafana grafana

Classification

Weakness
  • CWE-281 Improper Preservation of Permissions

References

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.