CVE-2024-1442 User with permissions to create a data source can CRUD all data sources
A user with data source creation permissions can escalate privileges to read, modify, and delete all data sources in the organization.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-1442?
CVE-2024-1442 is a medium-severity vulnerability in Grafana Grafana, published on 7 Mar 2024. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
A user with the permissions to create a data source can use Grafana API to create a data source with UID set to *. Doing this will grant the user access to read, query, edit and delete all data sources within the organization.
Weakness: CWE-269
Which versions are affected by CVE-2024-1442?
12 open source packages ship an affected version, including github.com/grafana/grafana and grafana. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/grafana/grafana Go | All versions | None |
github.com/grafana/grafana Go | From 10.0.0 | 10.0.12 |
github.com/grafana/grafana Go | From 10.0.0 | 10.0.12 |
github.com/grafana/grafana Go | From 10.1.0 | 10.1.8 |
github.com/grafana/grafana Go | From 10.1.0 | 10.1.8 |
github.com/grafana/grafana Go | From 10.2.0 | 10.2.5 |
6 more packages
github.com/grafana/grafana Go | From 10.2.0 | 10.2.5 |
github.com/grafana/grafana Go | From 10.3.0 | 10.3.4 |
github.com/grafana/grafana Go | From 10.3.0 | 10.3.4 |
github.com/grafana/grafana Go | From 8.5.0 | 9.5.7 |
github.com/grafana/grafana Go | From 8.5.0 | 9.5.7 |
grafana Bitnami | From 8.5.0 | 9.5.7, 10.0.12, 10.1.8, 10.2.5, 10.3.4 |
Products include Grafana Grafana.
How do I fix CVE-2024-1442?
Upgrade github.com/grafana/grafana to a fixed version for your release line: 10.0.12, 10.1.8, 10.2.5 or 10.3.4.
Is CVE-2024-1442 being exploited?
There is no known exploitation of CVE-2024-1442 in the wild and no public exploit code.
Other vulnerabilities in Grafana Grafana
Sources
Also known as BIT-grafana-2024-1442, GHSA-5mxf-42f5-j782, GO-2024-2629, MINI-2xrw-hmxm-7426, MINI-33fj-h6cf-qmf7, MINI-34fq-4cgh-c4rh and 15 more.