Skip to content
OpenAdvisories
Medium · 6.7 CVE-2022-39324 BIT-grafana-2022-39324EUVD-2024-1406GHSA-4724-7jwc-3fpwGO-2024-2867

Grafana vulnerable to spoofing originalUrl of snapshots

Published Jan 27, 2023 · Updated Nov 3, 2026 · Assigned by GitHub_M

Description

Grafana is an open-source platform for monitoring and observability. Prior to versions 8.5.16 and 9.2.8, malicious user can create a snapshot and arbitrarily choose the `originalUrl` parameter by editing the query, thanks to a web proxy. When another user opens the URL of the snapshot, they will be presented with the regular web interface delivered by the trusted Grafana server. The `Open original dashboard` button no longer points to the to the real original dashboard but to the attacker’s injected URL. This issue is fixed in versions 8.5.16 and 9.2.8.

Affected products

VendorProductAffectedFixed
grafana grafana < 8.5.16, >= 9.0.0, < 9.2.8 —

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
RHEL 9 grafana 9.2.10-7.el9_3 RHSA-2023:6420

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 grafana 9.2.10-7.el9_3.alma.1 ALSA-2023:6420
ReleasePackageFixed inAdvisory
SLES 15 SP4 grafana 8.5.20-150200.3.35.1 SUSE-SU-2023:0821-1
SLES 15 SP4 supportutils-plugin-salt 1.2.2-150000.3.13.1 SUSE-SU-2023:0812-1
SLES 15 SP3 supportutils-plugin-salt 1.2.2-150000.3.13.1 SUSE-SU-2023:0812-1
SLES 15 SP2 supportutils-plugin-salt 1.2.2-150000.3.13.1 SUSE-SU-2023:0812-1
SLES 15 SP1 supportutils-plugin-salt 1.2.2-150000.3.13.1 SUSE-SU-2023:0812-1
Show 15 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP3 supportutils-plugin-salt 1.2.2-150000.3.13.1 SUSE-SU-2023:0812-1
SLES for SAP 15 SP2 supportutils-plugin-salt 1.2.2-150000.3.13.1 SUSE-SU-2023:0812-1
SLES for SAP 15 SP1 supportutils-plugin-salt 1.2.2-150000.3.13.1 SUSE-SU-2023:0812-1
SLE Real Time 15 SP3 supportutils-plugin-salt 1.2.2-150000.3.13.1 SUSE-SU-2023:0812-1
SLE HPC 15 SP3 supportutils-plugin-salt 1.2.2-150000.3.13.1 SUSE-SU-2023:0812-1
SLE HPC 15 SP2 supportutils-plugin-salt 1.2.2-150000.3.13.1 SUSE-SU-2023:0812-1
SLE HPC 15 SP1 supportutils-plugin-salt 1.2.2-150000.3.13.1 SUSE-SU-2023:0812-1
SUSE Manager Server 4.2 supportutils-plugin-salt 1.2.2-150000.3.13.1 SUSE-SU-2023:0812-1
SUSE Manager Proxy 4.2 supportutils-plugin-salt 1.2.2-150000.3.13.1 SUSE-SU-2023:0812-1
SUSE Manager Client Tools for SLE Micro 5 dracut-saltboot 0.1.1674034019.a93ff61-150000.1.47.1 SUSE-SU-2023:0812-1
SUSE Manager Client Tools for SLE Micro 5 uyuni-proxy-systemd-services 4.3.8-150000.1.12.1 SUSE-SU-2023:0812-1
SUSE Manager Client Tools Beta for SLE Micro 5 dracut-saltboot 0.1.1681904360.84ef141-159000.3.30.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools Beta for SLE Micro 5 golang-github-QubitProducts-exporter_exporter 0.4.0-159000.4.6.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools Beta for SLE Micro 5 prometheus-blackbox_exporter 0.24.0-159000.3.6.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools Beta for SLE Micro 5 uyuni-proxy-systemd-services 5.0.1-159000.3.9.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 ansible 2.9.27-159000.3.9.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 dracut-saltboot 0.1.1674034019.a93ff61-150000.1.47.1 SUSE-SU-2024:0196-1, SUSE-SU-2023:0812-1
SUSE Manager Client Tools 15 golang-github-QubitProducts-exporter_exporter 0.4.0-159000.4.6.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 golang-github-boynux-squid_exporter 1.6-159000.4.9.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 golang-github-lusitaniae-apache_exporter 1.0.0-159000.4.12.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 golang-github-prometheus-prometheus 2.45.0-159000.6.33.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 grafana 8.5.20-150000.1.42.1 SUSE-SU-2024:0196-1, SUSE-SU-2023:0812-1
SUSE Manager Client Tools 15 mgr-push 5.0.1-159000.4.21.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 prometheus-blackbox_exporter 0.24.0-159000.3.6.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 prometheus-postgres_exporter 0.10.1-159000.3.6.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 python-hwdata 2.3.5-159000.5.13.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 python-pyvmomi 6.7.3-159000.3.6.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 rhnlib 5.0.1-159000.6.30.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 spacecmd 4.3.19-150000.3.95.1 SUSE-SU-2024:0196-1, SUSE-SU-2023:0812-1
SUSE Manager Client Tools 15 spacewalk-client-tools 4.3.15-150000.3.77.1 SUSE-SU-2024:0196-1, SUSE-SU-2023:0812-1
SUSE Manager Client Tools 15 supportutils-plugin-salt 1.2.2-150000.3.13.1 SUSE-SU-2024:0196-1, SUSE-SU-2023:0812-1
SUSE Manager Client Tools 15 supportutils-plugin-susemanager-client 5.0.1-159000.6.15.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 uyuni-common-libs 5.0.1-159000.3.33.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 uyuni-proxy-systemd-services 4.3.8-150000.1.12.1 SUSE-SU-2024:0196-1, SUSE-SU-2023:0812-1
SUSE Manager Client Tools 12 golang-github-QubitProducts-exporter_exporter 0.4.0-4.6.2 SUSE-SU-2024:0191-1
SUSE Manager Client Tools 12 golang-github-boynux-squid_exporter 1.6-4.9.2 SUSE-SU-2024:0191-1
SUSE Manager Client Tools 12 golang-github-lusitaniae-apache_exporter 1.0.0-4.12.4 SUSE-SU-2024:0191-1
SUSE Manager Client Tools 12 golang-github-prometheus-alertmanager 0.26.0-4.12.4 SUSE-SU-2024:0191-1
SUSE Manager Client Tools 12 golang-github-prometheus-node_exporter 1.5.0-4.15.4 SUSE-SU-2024:0191-1
SUSE Manager Client Tools 12 golang-github-prometheus-prometheus 2.45.0-4.33.3 SUSE-SU-2024:0191-1
SUSE Manager Client Tools 12 golang-github-prometheus-promu 0.14.0-4.12.2 SUSE-SU-2024:0191-1
SUSE Manager Client Tools 12 grafana 8.5.20-1.42.1 SUSE-SU-2024:0191-1, SUSE-SU-2023:0811-1
SUSE Manager Client Tools 12 kiwi-desc-saltboot 0.1.1687520761.cefb248-4.15.2 SUSE-SU-2024:0191-1
SUSE Manager Client Tools 12 mgr-push 5.0.1-4.21.4 SUSE-SU-2024:0191-1
SUSE Manager Client Tools 12 prometheus-blackbox_exporter 0.24.0-3.6.3 SUSE-SU-2024:0191-1
SUSE Manager Client Tools 12 prometheus-postgres_exporter 0.10.1-3.6.4 SUSE-SU-2024:0191-1
SUSE Manager Client Tools 12 python-hwdata 2.3.5-15.12.2 SUSE-SU-2024:0191-1
SUSE Manager Client Tools 12 rhnlib 5.0.1-24.30.3 SUSE-SU-2024:0191-1
SUSE Manager Client Tools 12 spacecmd 4.3.19-38.118.1 SUSE-SU-2024:0191-1, SUSE-SU-2023:0811-1
SUSE Manager Client Tools 12 spacewalk-client-tools 4.3.15-52.86.1 SUSE-SU-2023:0811-1
SUSE Manager Client Tools 12 supportutils-plugin-salt 1.2.2-9.9.2 SUSE-SU-2024:0191-1
SUSE Manager Client Tools 12 supportutils-plugin-susemanager-client 5.0.1-9.15.2 SUSE-SU-2024:0191-1
SUSE Manager Client Tools 12 system-user-grafana +1 1.0.0-3.7.2 SUSE-SU-2024:0191-1
SUSE Manager Client Tools 12 uyuni-common-libs 5.0.1-3.33.3 SUSE-SU-2024:0191-1
SUSE Enterprise Storage 7.1 supportutils-plugin-salt 1.2.2-150000.3.13.1 SUSE-SU-2023:0812-1
SUSE Enterprise Storage 7 supportutils-plugin-salt 1.2.2-150000.3.13.1 SUSE-SU-2023:0812-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed grafana 8.5.20-1.1 openSUSE-SU-2024:12659-1
openSUSE Leap 15.4 dracut-saltboot 0.1.1674034019.a93ff61-150000.1.47.1 SUSE-SU-2023:0812-1
openSUSE Leap 15.4 grafana 8.5.20-150200.3.35.1 SUSE-SU-2023:0821-1
openSUSE Leap 15.4 spacecmd 4.3.19-150000.3.95.1 SUSE-SU-2023:0812-1
openSUSE Leap 15.4 supportutils-plugin-salt 1.2.2-150000.3.13.1 SUSE-SU-2023:0812-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 grafana 9.2.10-7.el9_3 ELSA-2023-6420

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/grafana/grafana >= 9.0.0, < 9.2.8 9.2.8 GHSA-4724-7jwc-3fpw
Go github.com/grafana/grafana < 8.5.16 8.5.16 GHSA-4724-7jwc-3fpw
Go github.com/grafana/grafana all versions — GO-2024-2867

Advisories 10

References