CVE-2022-39324 Grafana vulnerable to spoofing originalUrl of snapshots
Attackers can spoof snapshot URLs to redirect users to malicious sites, bypassing trust in the original dashboard link.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-39324?
CVE-2022-39324 is a medium-severity vulnerability in Grafana Grafana, published on 27 Jan 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
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.
Weakness: CWE-79
Which versions are affected by CVE-2022-39324?
6 open source packages ship an affected version, including github.com/grafana/grafana and grafana. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/grafana/grafana Go | All versions | None |
github.com/grafana/grafana Go | All versions | 8.5.16 |
github.com/grafana/grafana Go | All versions | 8.5.16 |
github.com/grafana/grafana Go | From 9.0.0 | 9.2.8 |
github.com/grafana/grafana Go | From 9.0.0 | 9.2.8 |
grafana Bitnami | All versions | 8.5.16, 9.2.8 |
Products include Grafana Grafana.
How do I fix CVE-2022-39324?
Upgrade github.com/grafana/grafana to a fixed version for your release line: 8.5.16 or 9.2.8.
Is CVE-2022-39324 being exploited?
There is no known exploitation of CVE-2022-39324 in the wild and no public exploit code.
Other vulnerabilities in Grafana Grafana
Sources
Also known as BIT-grafana-2022-39324, CLSA-2026-1779532464, GHSA-4724-7jwc-3fpw, GO-2024-2867, MINI-28p9-hg22-pvc8, MINI-393p-653w-52cr and 16 more.