Bug 1221174 (CVE-2024-1442)

Summary: VUL-0: CVE-2024-1442: grafana: Improper priviledge managent for users with data source permissions
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: monitoring-devel <monitoring-devel>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Major    
Priority: P5 - None CC: andrea.mattiazzo
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/396611/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-1442:7.2:(AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-03-08 12:09:32 UTC
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:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-1442
https://www.cve.org/CVERecord?id=CVE-2024-1442
https://grafana.com/security/security-advisories/cve-2024-1442/
https://grafana.com/blog/2024/03/07/grafana-security-release-medium-severity-security-fix-for-cve-2024-1442/
https://bugzilla.redhat.com/show_bug.cgi?id=2268486
Comment 1 Andrea Mattiazzo 2024-03-08 12:11:28 UTC
Closing since it affects only Grafana Cloud and Grafana Enterprise [0], so no shipped products are affected.

[0] https://grafana.com/blog/2024/03/07/grafana-security-release-medium-severity-security-fix-for-cve-2024-1442/