Privilege Escalation Affecting github.com/grafana/grafana/pkg/services package, versions <8.5.13 >=9.0.0 <9.0.9 >=9.1.0 <9.1.6


0.0
medium

Snyk CVSS

    Attack Complexity High
    Confidentiality High
Expand this section
RHEL
6.4 medium
Expand this section
NVD
3.8 low

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-GOLANG-GITHUBCOMGRAFANAGRAFANAPKGSERVICES-3028108
  • published 21 Sep 2022
  • disclosed 20 Sep 2022
  • credit Unknown

How to fix?

Upgrade github.com/grafana/grafana/pkg/services to version 8.5.13, 9.0.9, 9.1.6 or higher.

Overview

Affected versions of this package are vulnerable to Privilege Escalation during the migrations of translating legacy access control permissions into RBAC permissions due to a bug in the process, which grants additional access to folders or dashboards which only had Admin role. Exploiting this vulnerability allows Editors and Viewers to edit and view the folder or the dashboards which they should have no access to.

Note: This vulnerability affects environments where RBAC was enabled at least once and only folders/dashboards with Admin-only permissions