CVE-2022-36062
grafana: Grafana RBAC folders/dashboards privilege escalation
Overview
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.
Source: OX vulnerability database
Severity
3.8 · LOW
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- High
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
Weakness: CWE-281
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | grafana | <8.5.13>=9.0.0, <9.0.9>=9.1.0, <9.1.6 | 8.5.139.0.99.1.6 |
| Go | github.com/grafana/grafana | >=8.5.0, <8.5.13>=9.0.0, <9.0.9>=9.1.0, <9.1.6 | 8.5.139.0.99.1.6 |
Open a package to see all its vulnerabilities.
Operating systems · 8 fixes
SUSE Linux Enterprise 2 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | grafana | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| 15.5 | grafana | 9.5.1-150200.3.41.3 | SUSE-SU-2023:2575-1 |
chainguard 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| grafana-fips-11-6 +4 | not affected | |
| grafana-fips-12-0 | 12.0.10-r6 | |
| grafana-fips-12-1 | 12.1.10.01-r3 | |
| grafana-fips-13-1 | 13.1.0-r0 |
minimos 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| grafana-11-4 | 11.4.3-r0 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | grafana | 8.5.13-1.1 | openSUSE-SU-2024:12366-1 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2022-36062
- github.com https://github.com/grafana/grafana
- github.com https://github.com/grafana/grafana/security/advisories/GHSA-p978-56hq-r492
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-36062
- security.netapp.com https://security.netapp.com/advisory/ntap-20221215-0001
- security.netapp.com https://security.netapp.com/advisory/ntap-20221215-0001/
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2022-36062
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.