Grafana vulnerable to spoofing originalUrl of snapshots
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- High
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · High · Low
- Fix status
- Partial Red Hat: 2 fixed, 11 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Grafana | grafana | before 8.5.16; 9.0.0 to before 9.2.8 | 8.5.16, 9.2.8 | Patch available | CNA |
| — | github.com/grafana/grafana (Go) | 9.0.0 to before 9.2.8 | 9.2.8 | Patch available | GHSA-4724-7jwc-3fpw |
| — | github.com/grafana/grafana (Go) | before 8.5.16 | 8.5.16 | Patch available | GHSA-4724-7jwc-3fpw |
- grafana VendorGrafana Affected before 8.5.16; 9.0.0 to before 9.2.8 Fixed in 8.5.16, 9.2.8 Patch available CNA
- github.com/grafana/grafana (Go) Vendor— Affected 9.0.0 to before 9.2.8 Fixed in 9.2.8 Patch available GHSA-4724-7jwc-3fpw
- github.com/grafana/grafana (Go) Vendor— Affected before 8.5.16 Fixed in 8.5.16 Patch available GHSA-4724-7jwc-3fpw
Remediation
- Fix · CNA grafana (grafana) Fixed in 8.5.16, 9.2.8
- Fix · GHSA-4724-7jwc-3fpw github.com/grafana/grafana (Go) Fixed in 9.2.8 Advisory →
- Fix · GHSA-4724-7jwc-3fpw github.com/grafana/grafana (Go) Fixed in 8.5.16 Advisory →
Red Hat 2 advisories
- RHSA-2023:6420 Released 2023-11-07 · Red Hat rating Moderategrafana security and enhancement update
- Red Hat Enterprise Linux AppStream (v. 9) grafana-9.2.10-7.el9_3
- RHSA-2023:3642 Released 2023-06-15 · Red Hat rating ImportantRed Hat Ceph Storage 6.1 Container security and bug fix update
- Red Hat Ceph Storage 6.1 Tools rhceph/keepalived-rhel9, rhceph/rhceph-6-dashboard-rhel9, rhceph/rhceph-6-rhel9 +3
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| OpenShift Service Mesh 2 | Affected | No fix planned: Will not fix |
| OpenShift Service Mesh 2.0 | Affected | No fix planned: Out of support scope |
| OpenShift Service Mesh 2.1 | Affected | No fix planned: Will not fix |
| Red Hat Advanced Cluster Management for Kubernetes 2 | Affected | No fix yet |
| Red Hat Ceph Storage 3 | Affected | No fix planned: Out of support scope |
| Red Hat Ceph Storage 4 | Affected | No fix yet |
| Red Hat Ceph Storage 5 | Affected | No fix yet |
| Red Hat Enterprise Linux 8 | Affected | No fix planned: Will not fix |
| Red Hat OpenShift Container Platform 3.11 | Affected | No fix planned: Out of support scope |
| Red Hat OpenShift GitOps | Affected | No fix planned: Will not fix |
| Red Hat Storage 3 | Affected | No fix planned: Out of support scope |
| Red Hat Ceph Storage 6.1 Tools | Fixed | RHSA-2023:3642 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2023:6420 |
Not affected: 4 products
- Logging Subsystem for Red Hat OpenShift
- Red Hat Ceph Storage 6.1 Tools
- Red Hat OpenShift Container Platform 4
- Red Hat build of Quarkus
Timeline
- 2026-10-02 Threatist record created from CVE-2022-39324
- 2026-10-03 Alias added: GHSA-4724-7jwc-3fpw
- 2026-11-03 CISA SSVC decision points changed
References
Patch 4
Advisory 2
More Grafana vulnerabilities
- TI-2021-16611 Snapshot authentication bypass in grafana KEVCVSS 3.1CRITICAL 9.8
- TI-2021-19604 Grafana path traversal KEVCVSS 3.1HIGH 7.5
- TI-2024-08600 Grafana SQL Expressions allow for remote code execution CVSS 4.0CRITICAL 9.4
- TI-2023-02931 Authentication bypass by spoofing in Grafana CVSS 3.1CRITICAL 9.8
- TI-2020-10491 The avatar feature in Grafana 3.0.1 through 7.0.1 has an SSRF Incorrect Access Control… CVSS 3.1HIGH 8.2
- TI-2025-03662 Open redirect in Grafana CVSS 3.1HIGH 7.6
Sources
- CVE-2022-39324 · CVE Program
- CVE-2022-39324 · NVD
- FIRST EPSS
- GHSA-4724-7jwc-3fpw · GitHub Advisory Database · CC BY 4.0
- CVE-2022-39324 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences