Bug 1938975 (CVE-2021-28146) - CVE-2021-28146 grafana: Authorization bypass via external groups
Summary: CVE-2021-28146 grafana: Authorization bypass via external groups
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2021-28146
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1938968
TreeView+ depends on / blocked
 
Reported: 2021-03-15 11:52 UTC by Michael Kaplan
Modified: 2023-08-31 23:44 UTC (History)
40 users (show)

Fixed In Version: Grafana Enterprise 7.4.5
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in grafana. Authenticated users are allowed to add external groups to existing teams or to grant a user team-permissions that the user isn't supposed to have. The highest threat from this vulnerability is to data confidentiality.
Clone Of:
Environment:
Last Closed: 2021-05-12 12:46:26 UTC
Embargoed:


Attachments (Terms of Use)

Description Michael Kaplan 2021-03-15 11:52:00 UTC
On Grafana instances using an external authentication service, Grafana Enterprise 7.4.0 introduced a mechanism which allows any authenticated user to add external groups to existing teams. This can be used to grant a user team permissions that the user isn’t supposed to have. This vulnerability also allows any unauthenticated user/client to get existing external groups related to a team, knowing the team ID. 

The vulnerability can only be triggered if you have defined at least one team in Grafana, even if that team is unused.

Comment 2 Sage McTaggart 2021-03-15 19:15:17 UTC
Statement:

Red Hat products do not ship Grafana Enterprise version, therefore they are not affected by this vulnerability.

Comment 3 Przemyslaw Roguski 2021-03-18 17:44:40 UTC
External References:

https://github.com/grafana/grafana/blob/master/CHANGELOG.md#745-2021-03-18


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