8.7
HIGH
CVE-2022-31097
Grafana Stored Cross-Site Scripting Vulnerability
Description

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.

INFO

Published Date :

July 15, 2022, 12:15 p.m.

Last Modified :

Nov. 23, 2022, 2:24 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.8

Exploitability Score :

2.3
Public PoC/Exploit Available at Github

CVE-2022-31097 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2022-31097 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Grafana grafana
1 Netapp e-series_performance_analyzer
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-31097.

URL Resource
https://github.com/grafana/grafana/security/advisories/GHSA-vw7q-p2qg-4m5f Release Notes Third Party Advisory
https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-5-9/ Release Notes Vendor Advisory
https://grafana.com/docs/grafana/latest/release-notes/release-notes-9-0-3/ Release Notes Vendor Advisory
https://grafana.com/docs/grafana/next/release-notes/release-notes-8-4-10/ Release Notes Vendor Advisory
https://security.netapp.com/advisory/ntap-20220901-0010/ Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

This is a python alternative to gofetch

Python Shell

Updated: 11 months, 3 weeks ago
4 stars 1 fork 1 watcher
Born at : Dec. 2, 2022, 12:33 p.m. This repo has been linked 18 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-31097 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-31097 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Reanalysis by [email protected]

    Nov. 23, 2022

    Action Type Old Value New Value
    Removed CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
  • Modified Analysis by [email protected]

    Sep. 09, 2022

    Action Type Old Value New Value
    Changed Reference Type https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-5-9/ Broken Link https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-5-9/ Release Notes, Vendor Advisory
    Changed Reference Type https://security.netapp.com/advisory/ntap-20220901-0010/ No Types Assigned https://security.netapp.com/advisory/ntap-20220901-0010/ Third Party Advisory
    Added CWE NIST CWE-79
    Added CPE Configuration OR *cpe:2.3:a:netapp:e-series_performance_analyzer:-:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Sep. 01, 2022

    Action Type Old Value New Value
    Added Reference https://security.netapp.com/advisory/ntap-20220901-0010/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Jul. 22, 2022

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
    Changed Reference Type https://github.com/grafana/grafana/security/advisories/GHSA-vw7q-p2qg-4m5f No Types Assigned https://github.com/grafana/grafana/security/advisories/GHSA-vw7q-p2qg-4m5f Release Notes, Third Party Advisory
    Changed Reference Type https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-5-9/ No Types Assigned https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-5-9/ Broken Link
    Changed Reference Type https://grafana.com/docs/grafana/latest/release-notes/release-notes-9-0-3/ No Types Assigned https://grafana.com/docs/grafana/latest/release-notes/release-notes-9-0-3/ Release Notes, Vendor Advisory
    Changed Reference Type https://grafana.com/docs/grafana/next/release-notes/release-notes-8-4-10/ No Types Assigned https://grafana.com/docs/grafana/next/release-notes/release-notes-8-4-10/ Release Notes, Vendor Advisory
    Added CPE Configuration OR *cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:* versions from (including) 8.0.0 up to (excluding) 8.3.10 *cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:* versions from (including) 8.4.0 up to (excluding) 8.4.10 *cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:* versions from (including) 8.5.0 up to (excluding) 8.5.9 *cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:* versions from (including) 9.0.0 up to (excluding) 9.0.3
  • CVE Modified by [email protected]

    Jul. 15, 2022

    Action Type Old Value New Value
    Changed Description 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.6, 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.6, 8.4.10, and 8.3.10 contain a patch. As a workaround, it is possible to disable alerting or use legacy alerting. 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.
    Removed Reference https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-5-6/ [No Types Assigned]
    Added Reference https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-5-9/ [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-31097 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-31097 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.55 }} -0.11%

score

0.77480

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability