Bug 2125521 (CVE-2022-36062) - CVE-2022-36062 grafana: Grafana RBAC folders/dashboards privilege escalation
Summary: CVE-2022-36062 grafana: Grafana RBAC folders/dashboards privilege escalation
Keywords:
Status: NEW
Alias: CVE-2022-36062
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2126029 2126030 2126031 2126032
Blocks: 2125519
TreeView+ depends on / blocked
 
Reported: 2022-09-09 08:32 UTC by Avinash Hanwate
Modified: 2022-10-28 13:13 UTC (History)
45 users (show)

Fixed In Version: grafana 9.1.6, grafana 9.0.9, grafana 8.5.13
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Grafana. This vulnerability impacts folders/dashboards with Admin-only permissions and where role-based access control (RBAC) was ever enabled at least once. When RBAC is enabled, Grafana runs migrations that translate legacy access control permissions into RBAC permissions. The migrations contain a bug, which grants additional access to folders/dashboards that only had the Admin role grant, resulting in a privilege escalation where Editors can edit and Viewers can view the folder/dashboard to which they should not have access.
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Avinash Hanwate 2022-09-09 08:32:15 UTC
This vulnerability impacts Grafana instances where RBAC was enabled at least once and only folders/dashboards with Admin-only permissions. When RBAC is enabled, Grafana runs migrations which translate legacy access control permissions into RBAC permissions. The migrations contain a bug, which grants additional access to folders and dashboards which only had Admin role grant, resulting in a privilege escalation where Editors can edit and Viewers can view the folder/dashboard to which they should not have access to.


Note You need to log in before you can comment on or make changes to this bug.