CVE-2022-36062
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.
How to fix
- 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
| Product | Affected versions | Fixed in |
|---|---|---|
| grafana grafana | v < 8.5.13, 9.0.0 ≤ v < 9.0.9, 9.1.0 ≤ v < 9.1.6 | 8.5.13, 9.0.9, 9.1.6 |
| github.com/grafana/grafanaGo | 8.5.0 ≤ v < 8.5.13, 9.0.0 ≤ v < 9.0.9, 9.1.0 ≤ v < 9.1.6, No range specified | 8.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.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.