Vulnerability Name: | CVE-2022-21702 (CCN-219281) | ||||||||||||||||||||||||||||||||||||
Assigned: | 2021-11-16 | ||||||||||||||||||||||||||||||||||||
Published: | 2022-02-08 | ||||||||||||||||||||||||||||||||||||
Updated: | 2022-09-10 | ||||||||||||||||||||||||||||||||||||
Summary: | Grafana is an open-source platform for monitoring and observability. In affected versions an attacker could serve HTML content thru the Grafana datasource or plugin proxy and trick a user to visit this HTML page using a specially crafted link and execute a Cross-site Scripting (XSS) attack. The attacker could either compromise an existing datasource for a specific Grafana instance or either set up its own public service and instruct anyone to set it up in their Grafana instance. To be impacted, all of the following must be applicable. For the data source proxy: A Grafana HTTP-based datasource configured with Server as Access Mode and a URL set, the attacker has to be in control of the HTTP server serving the URL of above datasource, and a specially crafted link pointing at the attacker controlled data source must be clicked on by an authenticated user. For the plugin proxy: A Grafana HTTP-based app plugin configured and enabled with a URL set, the attacker has to be in control of the HTTP server serving the URL of above app, and a specially crafted link pointing at the attacker controlled plugin must be clocked on by an authenticated user. For the backend plugin resource: An attacker must be able to navigate an authenticated user to a compromised plugin through a crafted link. Users are advised to update to a patched version. There are no known workarounds for this vulnerability. | ||||||||||||||||||||||||||||||||||||
CVSS v3 Severity: | 5.4 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) 4.7 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N/E:U/RL:O/RC:C)
5.7 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N/E:U/RL:O/RC:C)
5.9 Medium (REDHAT Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N/E:U/RL:O/RC:C)
| ||||||||||||||||||||||||||||||||||||
CVSS v2 Severity: | 2.1 Low (CVSS v2 Vector: AV:N/AC:H/Au:S/C:N/I:P/A:N)
| ||||||||||||||||||||||||||||||||||||
Vulnerability Type: | CWE-79 CWE-79 | ||||||||||||||||||||||||||||||||||||
Vulnerability Consequences: | Cross-Site Scripting | ||||||||||||||||||||||||||||||||||||
References: | Source: MITRE Type: CNA CVE-2022-21702 Source: XF Type: UNKNOWN grafana-cve202221702-xss(219281) Source: MISC Type: Patch, Third Party Advisory https://github.com/grafana/grafana/commit/27726868b3d7c613844b55cd209ca93645c99b85 Source: CCN Type: Grafana GIT Repository CVE-2022-21702: Grafana proxy XSS Source: CONFIRM Type: Exploit, Mitigation, Release Notes, Third Party Advisory https://github.com/grafana/grafana/security/advisories/GHSA-xc3p-28hw-q24g Source: MISC Type: Release Notes, Vendor Advisory https://grafana.com/blog/2022/02/08/grafana-7.5.15-and-8.3.5-released-with-moderate-severity-security-fixes/ Source: FEDORA Type: Mailing List, Third Party Advisory FEDORA-2022-9dd03cab55 Source: FEDORA Type: Mailing List, Third Party Advisory FEDORA-2022-c5383675d9 Source: FEDORA Type: Mailing List, Third Party Advisory FEDORA-2022-83405f9d5b Source: CONFIRM Type: Third Party Advisory https://security.netapp.com/advisory/ntap-20220303-0005/ | ||||||||||||||||||||||||||||||||||||
Vulnerable Configuration: | Configuration 1: Configuration 2: Configuration 3: Configuration RedHat 1: Configuration RedHat 2: Configuration RedHat 3: Configuration RedHat 4: Configuration CCN 1: Denotes that component is vulnerable | ||||||||||||||||||||||||||||||||||||
Oval Definitions | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
BACK |