CVE-2022-36062 Grafana folders admin only permission privilege escalation
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- Ubuntu
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.
Upgrade path
4 packages: 2 fixed, 1 partially fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/grafana(Ubuntu 16.04) | = 2.6.0+dfsg-1; All versions | No fix listed | No fix yet |
| grafana github.com/grafana/grafana(Go) | >= 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 | Partially fixed |
| alpine/grafana(Alpine v3.16) | < 8.5.13-r0 | 8.5.13-r0 | Fixed |
| grafana github.com/grafana/grafana | < 8.5.13; = < 8.5.13; = >= 9.0.0, < 9.0.9; = >= 9.1.0, < 9.1.6 +2 more | 8.5.13, 9.0.9, 9.1.6 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| grafana github.com/grafana/grafana(Go) | >= 8.5.0, < 8.5.13 | 8.5.13 |
| grafana github.com/grafana/grafana(Go) | >= 9.0.0, < 9.0.9 | 9.0.9 |
| grafana github.com/grafana/grafana(Go) | >= 9.1.0, < 9.1.6 | 9.1.6 |
| grafana github.com/grafana/grafana(Go) | All versions | No fix listed |
| grafana github.com/grafana/grafana | = < 8.5.13 | No fix listed |
| grafana github.com/grafana/grafana | = >= 9.0.0, < 9.0.9 | No fix listed |
| grafana github.com/grafana/grafana | = >= 9.1.0, < 9.1.6 | No fix listed |
| grafana github.com/grafana/grafana | < 8.5.13 | 8.5.13 |
| grafana github.com/grafana/grafana | >= 9.0.0, < 9.0.9 | 9.0.9 |
| grafana github.com/grafana/grafana | >= 9.1.0, < 9.1.6 | 9.1.6 |
| ubuntu/grafana(Ubuntu:16.04) | All versions | No fix listed |
| ubuntu/grafana(Ubuntu:16.04) | = 2.6.0+dfsg-1 | No fix listed |
| alpine/grafana(Alpine:v3.16) | < 8.5.13-r0 | 8.5.13-r0 |
References
- github.com issue-tracking patch release-notes vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- security.netapp.com third-party-advisory
- github.com
- security.alpinelinux.org vendor-advisory
- ubuntu.com issue-tracking
- www.cve.org issue-tracking
- ENISA EUVD EUVD-2024-1710 third-party-advisory