CVE-2021-28146 Missing authorization in n/a
Authenticated users can improperly add external groups to teams, granting unauthorized permissions in Grafana Enterprise instances using external authentication.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-28146?
CVE-2021-28146 is a medium-severity missing authorization vulnerability in Grafana Grafana, published on 22 Mar 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The team sync HTTP API in Grafana Enterprise 7.4.x before 7.4.5 has an Incorrect Access Control issue. On Grafana instances using an external authentication service, this vulnerability 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.
Weakness: CWE-863
Which versions are affected by CVE-2021-28146?
1 open source package ship an affected version, including grafana. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
grafana Bitnami | From 7.4.0 | 7.4.5 |
Products include Grafana Grafana.
How do I fix CVE-2021-28146?
Upgrade grafana to 7.4.5 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2021-28146 being exploited?
There is no known exploitation of CVE-2021-28146 in the wild and no public exploit code.
Other vulnerabilities in Grafana Grafana
Sources
Also known as BIT-grafana-2021-28146, GHSA-xfc5-hp99-89qr.