CVE-2021-28147 Missing authorization in n/a
Authenticated users can improperly add external groups to teams in Grafana Enterprise when EditorsCanAdmin is enabled, granting unauthorized team permissions.
- 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-28147?
CVE-2021-28147 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 6.x before 6.7.6, 7.x before 7.3.10, and 7.4.x before 7.4.5 has an Incorrect Access Control issue. On Grafana instances using an external authentication service and having the EditorsCanAdmin feature enabled, this vulnerability allows any authenticated user to add external groups to any existing team. This can be used to grant a user team permissions that the user isn't supposed to have.
Which versions are affected by CVE-2021-28147?
1 open source package ship an affected version, including grafana. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
grafana Bitnami | From 6.0.0 | 6.7.6, 7.3.10, 7.4.5 |
Products include Grafana Grafana.
How do I fix CVE-2021-28147?
Upgrade grafana to a fixed version for your release line: 6.7.6, 7.3.10 or 7.4.5.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2021-28147 being exploited?
There is no known exploitation of CVE-2021-28147 in the wild and no public exploit code.
Other vulnerabilities in Grafana Grafana
Sources
Also known as BIT-grafana-2021-28147, GHSA-jfp3-g5xg-h74p.