Grafana privilege escalation via folders resource API
Grafana Enterprise · Grafana OSS
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Grafana Grafana Enterprise |
| No fix yet |
| Grafana Grafana OSS |
| No fix yet |
Original description
A user with the Editor role who can edit a folder can move it, through the folders resource API, under a folder they administer, and so gain Admin on the moved folder and its contents, including the right to change their permissions. The legacy folder move API refuses the same move (improper privilege management).