Skip to content

Grafana's users with permissions to create a data source can CRUD all data sources

Moderate severity GitHub Reviewed Published Mar 7, 2024 to the GitHub Advisory Database • Updated Mar 7, 2024

Package

gomod github.com/grafana/grafana (Go)

Affected versions

>= 8.5.0, < 9.5.7
>= 10.0.0, < 10.0.12
>= 10.1.0, < 10.1.8
>= 10.2.0, < 10.2.5
>= 10.3.0, < 10.3.4

Patched versions

9.5.7
10.0.12
10.1.8
10.2.5
10.3.4

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.

References

Published by the National Vulnerability Database Mar 7, 2024
Published to the GitHub Advisory Database Mar 7, 2024
Reviewed Mar 7, 2024
Last updated Mar 7, 2024

Severity

Moderate
6.0
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
High
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:L

Weaknesses

CVE ID

CVE-2024-1442

GHSA ID

GHSA-5mxf-42f5-j782

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.