CVE-2021-41244 Cross organization admin control in Grafana

Critical 9.1 Published Updated

Organization admins can modify users in other organizations when fine-grained access control is enabled, requiring an upgrade or feature disablement.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-41244?

CVE-2021-41244 is a critical missing authorization vulnerability in Grafana Grafana, published on 15 Nov 2021. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Grafana is an open-source platform for monitoring and observability. In affected versions when the fine-grained access control beta feature is enabled and there is more than one organization in the Grafana instance admins are able to access users from other organizations. Grafana 8.0 introduced a mechanism which allowed users with the Organization Admin role to list, add, remove, and update users’ roles in other organizations in which they are not an admin. With fine-grained access control enabled, organization admins can list, add, remove and update users' roles in another organization, where they do not have organization admin role. All installations between v8.0 and v8.2.3 that have fine-grained access control beta enabled and more than one organization should be upgraded as soon as possible. If you cannot upgrade, you should turn off the fine-grained access control using a feature flag.

Weakness: CWE-863, CWE-610

Which versions are affected by CVE-2021-41244?

3 open source packages ship an affected version, including github.com/grafana/grafana and grafana. It affects 1 product.

PackageAffectedFixed in
github.com/grafana/grafana GoFrom 8.0.08.2.4
github.com/grafana/grafana GoFrom 8.0.08.2.4
grafana BitnamiFrom 8.0.08.2.4

Products include Grafana Grafana.

How do I fix CVE-2021-41244?

Upgrade github.com/grafana/grafana to 8.2.4 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2021-41244 being exploited?

There is no known exploitation of CVE-2021-41244 in the wild and no public exploit code.

All Grafana Grafana vulnerabilities

Sources

Also known as BIT-grafana-2021-41244, CVE-2021-43320, GHSA-mpwp-42x6-4wmx, UBUNTU-CVE-2021-41244.

Is CVE-2021-41244 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free