Skip to content
OpenAdvisories
Medium · 5.1 Public exploit CVE-2024-8118 EUVD-2024-48948GHSA-3j8x-8x9q-3m4r

Grafana alerting wrong permission on datasource rule write endpoint

Published Sep 26, 2024 · Updated Sep 26, 2024 · Assigned by GRAFANA

Description

In Grafana, the wrong permission is applied to the alert rule write API endpoint, allowing users with permission to write external alert instances to also write alert rules.

Affected products

VendorProductAffectedFixed
Grafana Grafana 8.5.0 – < 10.3.10, 10.4.0 – < 10.4.9, 11.0.0 – < 11.0.5, 11.1.0 – < 11.1.6, 11.2.0 – < 11.2.1 10.3.10

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS grafana No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP6 golang-github-prometheus-promu 0.17.0-150000.3.24.1 SUSE-SU-2025:0525-1
SLES 15 SP6 grafana 10.4.13-150200.3.59.1 SUSE-SU-2025:0545-1
SLES 15 SP6 supportutils-plugin-salt 1.2.3-150000.3.16.1 SUSE-SU-2025:0525-1
SLES 15 SP5 supportutils-plugin-salt 1.2.3-150000.3.16.1 SUSE-SU-2025:0525-1
SLES 15 SP4 supportutils-plugin-salt 1.2.3-150000.3.16.1 SUSE-SU-2025:0525-1
SLES 15 SP3 supportutils-plugin-salt 1.2.3-150000.3.16.1 SUSE-SU-2025:0525-1
Show 12 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP5 supportutils-plugin-salt 1.2.3-150000.3.16.1 SUSE-SU-2025:0525-1
SLES for SAP 15 SP4 supportutils-plugin-salt 1.2.3-150000.3.16.1 SUSE-SU-2025:0525-1
SLES for SAP 15 SP3 supportutils-plugin-salt 1.2.3-150000.3.16.1 SUSE-SU-2025:0525-1
SLE HPC 15 SP5 supportutils-plugin-salt 1.2.3-150000.3.16.1 SUSE-SU-2025:0525-1
SLE HPC 15 SP4 supportutils-plugin-salt 1.2.3-150000.3.16.1 SUSE-SU-2025:0525-1
SLE HPC 15 SP3 supportutils-plugin-salt 1.2.3-150000.3.16.1 SUSE-SU-2025:0525-1
SUSE Manager Server 4.3 supportutils-plugin-salt 1.2.3-150000.3.16.1 SUSE-SU-2025:0525-1
SUSE Manager Proxy 4.3 supportutils-plugin-salt 1.2.3-150000.3.16.1 SUSE-SU-2025:0525-1
SUSE Manager Client Tools for SLE Micro 5 dracut-saltboot 0.1.1728559936.c16d4fb-150000.1.56.1 SUSE-SU-2025:0525-1
SUSE Manager Client Tools for SLE Micro 5 uyuni-tools 0.1.28-150000.1.16.1 SUSE-SU-2025:0525-1
SUSE Manager Client Tools 15 dracut-saltboot 0.1.1728559936.c16d4fb-150000.1.56.1 SUSE-SU-2025:0525-1
SUSE Manager Client Tools 15 golang-github-prometheus-prometheus 2.53.3-150000.3.59.1 SUSE-SU-2025:0525-1
SUSE Manager Client Tools 15 grafana 10.4.13-150000.1.66.1 SUSE-SU-2025:0525-1
SUSE Manager Client Tools 15 spacecmd 5.0.11-150000.3.130.1 SUSE-SU-2025:0525-1
SUSE Manager Client Tools 15 supportutils-plugin-salt 1.2.3-150000.3.16.1 SUSE-SU-2025:0525-1
SUSE Manager Client Tools 15 supportutils-plugin-susemanager-client 5.0.4-150000.3.27.1 SUSE-SU-2025:0525-1
SUSE Manager Client Tools 15 uyuni-tools 0.1.28-150000.1.16.1 SUSE-SU-2025:0525-1
SUSE Manager Client Tools 12 golang-github-prometheus-prometheus 2.53.3-1.56.1 SUSE-SU-2025:0524-1
SUSE Manager Client Tools 12 golang-github-prometheus-promu 0.17.0-1.24.1 SUSE-SU-2025:0524-1
SUSE Manager Client Tools 12 grafana 10.4.13-1.66.2 SUSE-SU-2025:0524-1
SUSE Manager Client Tools 12 spacecmd 5.0.11-38.153.1 SUSE-SU-2025:0524-1
SUSE Manager Client Tools 12 supportutils-plugin-salt 1.2.3-6.25.1 SUSE-SU-2025:0524-1
SUSE Manager Client Tools 12 supportutils-plugin-susemanager-client 5.0.4-6.33.1 SUSE-SU-2025:0524-1
SUSE Manager Client Tools 12 uyuni-tools 0.1.28-1.16.1 SUSE-SU-2025:0524-1
SUSE Enterprise Storage 7.1 supportutils-plugin-salt 1.2.3-150000.3.16.1 SUSE-SU-2025:0525-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed grafana 11.3.0-1.1 openSUSE-SU-2024:14431-1
openSUSE Leap 15.6 dracut-saltboot 0.1.1728559936.c16d4fb-150000.1.56.1 SUSE-SU-2025:0525-1
openSUSE Leap 15.6 golang-github-prometheus-promu 0.17.0-150000.3.24.1 SUSE-SU-2025:0525-1
openSUSE Leap 15.6 grafana 10.4.13-150200.3.59.1 SUSE-SU-2025:0545-1
openSUSE Leap 15.6 spacecmd 5.0.11-150000.3.130.1 SUSE-SU-2025:0525-1
openSUSE Leap 15.6 supportutils-plugin-salt 1.2.3-150000.3.16.1 SUSE-SU-2025:0525-1
openSUSE Leap 15.6 supportutils-plugin-susemanager-client 5.0.4-150000.3.27.1 SUSE-SU-2025:0525-1
ReleasePackageFixed inAdvisory
Alpine v3.20 grafana 11.0.6-r0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 5

References