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
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 by | Version | Score | Vector |
|---|---|---|---|
| CNA | 3.1 | 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L |
| CNA | 3.1 | 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L |
| NVD | 3.1 | 3.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N |
| GitHub | 3.1 | 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.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
- github.com /grafana/grafana/security/advisories/GHSA-p978-56hq-r492 · x_transferred
- security.netapp.com /advisory/ntap-20221215-0001/ · x_transferred
- nvd.nist.gov /vuln/detail/CVE-2022-36062 · advisory
- github.com /grafana/grafana · package
- security.netapp.com /advisory/ntap-20221215-0001 · web
Sources
- CVE List: CVE-2022-36062
- GitHub Advisory: GHSA-p978-56hq-r492
- NVD: CVE-2022-36062
- OSV: GO-2024-2854
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.