CVE-2024-1442 User with permissions to create a data source can CRUD all data sources

Medium 6.0 Published Updated

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.

PackageAffectedFixed in
github.com/grafana/grafana GoAll versionsNone
github.com/grafana/grafana GoFrom 10.0.010.0.12
github.com/grafana/grafana GoFrom 10.0.010.0.12
github.com/grafana/grafana GoFrom 10.1.010.1.8
github.com/grafana/grafana GoFrom 10.1.010.1.8
github.com/grafana/grafana GoFrom 10.2.010.2.5
6 more packages
github.com/grafana/grafana GoFrom 10.2.010.2.5
github.com/grafana/grafana GoFrom 10.3.010.3.4
github.com/grafana/grafana GoFrom 10.3.010.3.4
github.com/grafana/grafana GoFrom 8.5.09.5.7
github.com/grafana/grafana GoFrom 8.5.09.5.7
grafana BitnamiFrom 8.5.09.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.

All Grafana Grafana vulnerabilities

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.

Is CVE-2024-1442 in your software?

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

Check your SBOMs for free