CVE-2022-31097: high-severity vulnerability in grafana
Stored XSS in Grafana's Unified Alerting
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
43Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7.3epss 70%
What the vendors declare (VEX)
Official vendor statements in CSAF/VEX format: whether their product is affected, already fixed, or ruled out — and why. These are the vendor's assertions, not Vexday's judgment.
Red HatVEX document ↗
Affected
6 products (11 components)
OpenShift Service Mesh 2.0 · OpenShift Service Mesh 2.1 · Red Hat Ceph Storage 3 · Red Hat Storage 3 · Red Hat Ceph Storage 4 · and others 1
workaround: Disable Unified alerting. https://grafana.com/docs/grafana/latest/setup-grafana/configure-grafana/#unified_alerting
Fixed
Not affected
5 products (35 components) — because the vulnerable code is not present in the product
Red Hat Ceph Storage 6.1 Tools · Red Hat Enterprise Linux 8 · Red Hat Enterprise Linux 9 · Red Hat Advanced Cluster Management for Kubernetes 2 · Red Hat OpenShift Container Platform 4
Grafana is an open-source platform for monitoring and observability. Versions on the 8.x and 9.x branch prior to 9.0.3, 8.5.9, 8.4.10, and 8.3.10 are vulnerable to stored cross-site scripting via the Unified Alerting feature of Grafana. An attacker can exploit this vulnerability to escalate privilege from editor to admin by tricking an authenticated admin to click on a link. Versions 9.0.3, 8.5.9, 8.4.10, and 8.3.10 contain a patch. As a workaround, it is possible to disable alerting or use legacy alerting.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
Affected products
grafana · grafanaRelated CVEs — grafana
In the same product, most dangerous first.
CVE-2021-39226CRITICALSnapshot authentication bypass in grafanaEPSS 99.9%KEVCVE-2021-43798HIGHGrafana path traversalEPSS 88.5%KEVCVE-2021-41174MEDIUMXSS vulnerability allowing arbitrary JavaScript executionEPSS 85.4%CVE-2021-43813MEDIUMDirectory Traversal in GrafanaEPSS 56.6%CVE-2021-41244CRITICALCross organization admin control in GrafanaEPSS 2.9%CVE-2022-31107HIGHGrafana account takeover via OAuth vulnerabilityEPSS 2.9%
References
https://github.com/grafana/grafana/security/advisories/GHSA-vw7q-p2qg-4m5fhttps://grafana.com/docs/grafana/latest/release-notes/release-notes-8-5-9/https://grafana.com/docs/grafana/latest/release-notes/release-notes-9-0-3/https://grafana.com/docs/grafana/next/release-notes/release-notes-8-4-10/https://security.netapp.com/advisory/ntap-20220901-0010/