Improper access control in Grafana - CVE-2024-8118

 

Improper access control in Grafana - CVE-2024-8118

Published: October 22, 2024


Vulnerability identifier: #VU99259
CSH Severity: Low
CVSS v4: 5.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-8118
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to gain unauthorized access to otherwise restricted functionality.

The vulnerability exists due to wrong permission is applied to the alert rule write API endpoint. A remote user with permission to write external alert instances can also write alert rules.


Affected software

Grafana
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Desktop 12
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Manager Client Tools for SLE Micro
SUSE Linux Enterprise Micro
SUSE Enterprise Storage
SUSE Manager Client Tools for SLE
SUSE Linux Enterprise Server for the Raspberry Pi
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise High Performance Computing
Basesystem Module
SUSE Package Hub 15
openSUSE Leap
mgrctl-debuginfo
mgrctl
mgrctl-bash-completion
mgrctl-zsh-completion
mgrctl-lang
firewalld-prometheus-config
dracut-saltboot
golang-github-prometheus-promu
supportutils-plugin-salt
golang-github-prometheus-prometheus
supportutils-plugin-susemanager-client
spacecmd
grafana
grafana-debuginfo

How to mitigate CVE-2024-8118

Install updates from vendor's website.

Grafana - addressed in versions 10.4.11, 11.0.7, 11.1.8
mgrctl-debuginfo - addressed in versions 0.1.28-1.16.1, 0.1.28-150000.1.16.1
mgrctl - addressed in versions 0.1.28-1.16.1, 0.1.28-150000.1.16.1
mgrctl-bash-completion - addressed in versions 0.1.28-1.16.1, 0.1.28-150000.1.16.1
mgrctl-zsh-completion - addressed in versions 0.1.28-1.16.1, 0.1.28-150000.1.16.1
mgrctl-lang - update to 0.1.28-150000.1.16.1
firewalld-prometheus-config - update to 0.1-150000.3.59.1
dracut-saltboot - update to 0.1.1728559936.c16d4fb-150000.1.56.1
golang-github-prometheus-promu - addressed in versions 0.17.0-1.24.1, 0.17.0-150000.3.24.1
supportutils-plugin-salt - addressed in versions 1.2.3-6.25.1, 1.2.3-150000.3.16.1
golang-github-prometheus-prometheus - addressed in versions 2.53.3-1.56.1, 2.53.3-150000.3.59.1
supportutils-plugin-susemanager-client - addressed in versions 5.0.4-6.33.1, 5.0.4-150000.3.27.1
spacecmd - addressed in versions 5.0.11-38.153.1, 5.0.11-150000.3.130.1
grafana - addressed in versions 10.4.13-1.66.2, 10.4.13-150000.1.66.1, 10.4.13-150200.3.59.1
grafana-debuginfo - addressed in versions 10.4.13-150000.1.66.1, 10.4.13-150200.3.59.1

External References

Related Security Bulletins