Vulnerability · Published Jan 27, 2023 · Assigned by GitHub_M

CVE-2022-39324Grafana vulnerable to spoofing originalUrl of snapshots

Medium 6.7

In plain English

A medium-severity cross-site scripting in grafana from grafana. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 58% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.7Medium
Exploit odds (30 days)0.8%top 42.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:9grafana9.2.10-7.el9_3.alma.1ALSA-2023:6420
Gogithub.com/grafana/grafana9.2.8GHSA-4724-7jwc-3fpw
Gogithub.com/grafana/grafana8.5.16GHSA-4724-7jwc-3fpw
Gogithub.com/grafana/grafanano fix listedGO-2024-2867

Affected products (as reported)

VendorProductVersions
grafana grafana < 8.5.16>= 9.0.0, < 9.2.8

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L

References