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


0.0
medium
  • Attack Complexity

    High

  • Confidentiality

    High

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-GITHUBCOMGRAFANAGRAFANAPKGAPI-3028107

  • published

    21 Sep 2022

  • disclosed

    20 Sep 2022

  • credit

    Unknown

How to fix?

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

Overview

github.com/grafana/grafana/pkg/api is an open and composable observability and data visualization platform.

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