XSS in Grafana
CVE-2022-39324
- CVSS v3
- 6.7 Medium
- Public exploits
- None known
- EPSS
- 0.009 · 59.3th percentile
- Published
- 2023-01-27
What to do
- Fixed in
8.5.16- Affected
- 1 affected product
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.7 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L.
- Attack Vector
- Network
AV:N - Attack Complexity
- High
AC:H - Privileges Required
- Low
PR:L - User Interaction
- Required
UI:R - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- Low
A:L
EPSS exploit prediction
EPSS 0.009, 59.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Grafana — versions < 8.5.16, >= 9.0.0, < 9.2.8
Weakness classification (CWE)
References
- github.com/grafana/grafana/security/advisories/GHSA-4724-7jwc-3fpw (Third Party Advisory)
- github.com/grafana/grafana/pull/60232 (Patch, Third Party Advisory)
- github.com/grafana/grafana/pull/60256 (Patch, Third Party Advisory)
- github.com/grafana/grafana/commit/239888f22983010576bb3a9135a7294e88c0c74a (Patch, Third Party Advisory)
- github.com/grafana/grafana/commit/d7dcea71ea763780dc286792a0afd560bff2985c (Patch, Third Party Advisory)
- security.netapp.com/advisory/ntap-20230309-0010/