Upstream information

CVE-2022-21702 at MITRE

Description

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.

SUSE information

Overall state of this security issue: Pending

This issue is currently rated as having moderate severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 2.1
Vector AV:N/AC:H/Au:S/C:N/I:P/A:N
Access Vector Network
Access Complexity High
Authentication Single
Confidentiality Impact None
Integrity Impact Partial
Availability Impact None
CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 5.4 6.8
Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N
Access Vector Network Network
Access Complexity Low Low
Privileges Required Low Low
User Interaction Required Required
Scope Changed Changed
Confidentiality Impact Low High
Integrity Impact Low None
Availability Impact None None
CVSSv3 Version 3.1 3.1
SUSE Bugzilla entry: 1195726 [NEW]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
Container ses/7/ceph/grafana:8.3.5.3.778
  • grafana >= 8.3.5-150200.3.21.1
HPE Helion Openstack 8
  • golang-github-prometheus-node_exporter >= 1.3.0-1.15.3
Patchnames:
HPE-Helion-OpenStack-8-2022-2134
SUSE Linux Enterprise Module for SUSE Manager Server 4.2
SUSE Manager Server 4.2
  • prometheus-postgres_exporter >= 0.10.0-150000.1.3.1
Patchnames:
SUSE-SLE-Module-SUSE-Manager-Server-4.2-2022-1396
SUSE Linux Enterprise Server 12 SP3-BCL
  • golang-github-prometheus-node_exporter >= 1.3.0-1.15.3
Patchnames:
SUSE-SLE-SERVER-12-SP3-BCL-2022-2134
SUSE Linux Enterprise Server 12 SP3-ESPOS
  • golang-github-prometheus-node_exporter >= 1.3.0-1.15.3
Patchnames:
SUSE-SLE-SERVER-12-SP3-ESPOS-2022-2134
SUSE Linux Enterprise Server 12 SP3-LTSS
  • golang-github-prometheus-node_exporter >= 1.3.0-1.15.3
Patchnames:
SUSE-SLE-SERVER-12-SP3-2022-2134
SUSE Linux Enterprise Server 12 SP4-ESPOS
  • golang-github-prometheus-node_exporter >= 1.3.0-1.15.3
Patchnames:
SUSE-SLE-SERVER-12-SP4-ESPOS-2022-2134
SUSE Linux Enterprise Server 12 SP4-LTSS
  • golang-github-prometheus-node_exporter >= 1.3.0-1.15.3
Patchnames:
SUSE-SLE-SERVER-12-SP4-LTSS-2022-2134
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server for SAP Applications 12 SP5
  • golang-github-prometheus-node_exporter >= 1.3.0-1.15.3
Patchnames:
SUSE-SLE-SERVER-12-SP5-2022-2134
SUSE Linux Enterprise Server for SAP Applications 12 SP3
  • golang-github-prometheus-node_exporter >= 1.3.0-1.15.3
Patchnames:
SUSE-SLE-SAP-12-SP3-2022-2134
SUSE Linux Enterprise Server for SAP Applications 12 SP4
  • golang-github-prometheus-node_exporter >= 1.3.0-1.15.3
Patchnames:
SUSE-SLE-SAP-12-SP4-2022-2134
SUSE Manager Tools 12
  • golang-github-QubitProducts-exporter_exporter >= 0.4.0-1.6.1
  • golang-github-prometheus-alertmanager >= 0.23.0-1.12.3
  • golang-github-prometheus-node_exporter >= 1.3.0-1.15.3
  • grafana >= 8.3.5-1.30.3
  • mgr-cfg >= 4.3.6-1.27.4
  • mgr-cfg-actions >= 4.3.6-1.27.4
  • mgr-cfg-client >= 4.3.6-1.27.4
  • mgr-cfg-management >= 4.3.6-1.27.4
  • mgr-custom-info >= 4.3.3-1.18.1
  • mgr-daemon >= 4.3.4-1.32.3
  • mgr-osad >= 4.3.6-1.39.4
  • mgr-push >= 4.3.4-1.21.4
  • mgr-virtualization-host >= 4.3.5-1.29.3
  • prometheus-blackbox_exporter >= 0.19.0-1.8.2
  • prometheus-postgres_exporter >= 0.10.0-1.8.2
  • python2-hwdata >= 2.3.5-12.9.1
  • python2-mgr-cfg >= 4.3.6-1.27.4
  • python2-mgr-cfg-actions >= 4.3.6-1.27.4
  • python2-mgr-cfg-client >= 4.3.6-1.27.4
  • python2-mgr-cfg-management >= 4.3.6-1.27.4
  • python2-mgr-osa-common >= 4.3.6-1.39.4
  • python2-mgr-osad >= 4.3.6-1.39.4
  • python2-mgr-push >= 4.3.4-1.21.4
  • python2-mgr-virtualization-common >= 4.3.5-1.29.3
  • python2-mgr-virtualization-host >= 4.3.5-1.29.3
  • python2-rhnlib >= 4.3.4-21.43.3
  • python2-spacewalk-check >= 4.3.9-52.71.3
  • python2-spacewalk-client-setup >= 4.3.9-52.71.3
  • python2-spacewalk-client-tools >= 4.3.9-52.71.3
  • python2-spacewalk-koan >= 4.3.5-24.33.3
  • python2-spacewalk-oscap >= 4.3.5-19.27.1
  • python2-suseRegisterInfo >= 4.3.3-25.27.3
  • python2-uyuni-common-libs >= 4.3.4-1.21.3
  • spacecmd >= 4.3.11-38.103.3
  • spacewalk-check >= 4.3.9-52.71.3
  • spacewalk-client-setup >= 4.3.9-52.71.3
  • spacewalk-client-tools >= 4.3.9-52.71.3
  • spacewalk-koan >= 4.3.5-24.33.3
  • spacewalk-oscap >= 4.3.5-19.27.1
  • spacewalk-remote-utils >= 4.3.3-24.24.3
  • supportutils-plugin-salt >= 1.2.0-6.16.1
  • supportutils-plugin-susemanager-client >= 4.3.2-6.24.1
  • suseRegisterInfo >= 4.3.3-25.27.3
Patchnames:
SUSE-SLE-Manager-Tools-12-2022-2134
SUSE Manager Tools 15-BETA
  • golang-github-prometheus-prometheus >= 2.32.1-159000.6.24.1
  • grafana >= 8.3.5-159000.4.21.1
  • python3-salt >= 3004-159000.8.50.1
  • python3-spacewalk-check >= 4.3.6-159000.6.39.1
  • python3-spacewalk-client-setup >= 4.3.6-159000.6.39.1
  • python3-spacewalk-client-tools >= 4.3.6-159000.6.39.1
  • salt >= 3004-159000.8.50.1
  • salt-api >= 3004-159000.8.50.1
  • salt-bash-completion >= 3004-159000.8.50.1
  • salt-cloud >= 3004-159000.8.50.1
  • salt-doc >= 3004-159000.8.50.1
  • salt-fish-completion >= 3004-159000.8.50.1
  • salt-master >= 3004-159000.8.50.1
  • salt-minion >= 3004-159000.8.50.1
  • salt-proxy >= 3004-159000.8.50.1
  • salt-ssh >= 3004-159000.8.50.1
  • salt-standalone-formulas-configuration >= 3004-159000.8.50.1
  • salt-syndic >= 3004-159000.8.50.1
  • salt-transactional-update >= 3004-159000.8.50.1
  • salt-zsh-completion >= 3004-159000.8.50.1
  • spacecmd >= 4.3.7-159000.6.33.1
  • spacewalk-check >= 4.3.6-159000.6.39.1
  • spacewalk-client-setup >= 4.3.6-159000.6.39.1
  • spacewalk-client-tools >= 4.3.6-159000.6.39.1
Patchnames:
SUSE-SLE-Manager-Tools-15-BETA-2022-751
SUSE Manager Tools 15
  • grafana >= 8.3.5-150000.1.30.1
  • mgr-cfg >= 4.2.8-150000.1.24.1
  • mgr-cfg-actions >= 4.2.8-150000.1.24.1
  • mgr-cfg-client >= 4.2.8-150000.1.24.1
  • mgr-cfg-management >= 4.2.8-150000.1.24.1
  • mgr-osad >= 4.2.8-150000.1.36.1
  • mgr-push >= 4.2.5-150000.1.18.2
  • mgr-virtualization-host >= 4.2.4-150000.1.26.1
  • prometheus-postgres_exporter >= 0.10.0-150000.1.3.1
  • python3-mgr-cfg >= 4.2.8-150000.1.24.1
  • python3-mgr-cfg-actions >= 4.2.8-150000.1.24.1
  • python3-mgr-cfg-client >= 4.2.8-150000.1.24.1
  • python3-mgr-cfg-management >= 4.2.8-150000.1.24.1
  • python3-mgr-osa-common >= 4.2.8-150000.1.36.1
  • python3-mgr-osad >= 4.2.8-150000.1.36.1
  • python3-mgr-push >= 4.2.5-150000.1.18.2
  • python3-mgr-virtualization-common >= 4.2.4-150000.1.26.1
  • python3-mgr-virtualization-host >= 4.2.4-150000.1.26.1
  • python3-rhnlib >= 4.2.6-150000.3.34.1
  • python3-spacewalk-check >= 4.2.18-150000.3.59.1
  • python3-spacewalk-client-setup >= 4.2.18-150000.3.59.1
  • python3-spacewalk-client-tools >= 4.2.18-150000.3.59.1
  • python3-spacewalk-koan >= 4.2.6-150000.3.27.1
  • python3-spacewalk-oscap >= 4.2.4-150000.3.18.1
  • python3-suseRegisterInfo >= 4.2.6-150000.3.21.1
  • spacecmd >= 4.2.16-150000.3.77.1
  • spacewalk-check >= 4.2.18-150000.3.59.1
  • spacewalk-client-setup >= 4.2.18-150000.3.59.1
  • spacewalk-client-tools >= 4.2.18-150000.3.59.1
  • spacewalk-koan >= 4.2.6-150000.3.27.1
  • spacewalk-oscap >= 4.2.4-150000.3.18.1
  • suseRegisterInfo >= 4.2.6-150000.3.21.1
Patchnames:
SUSE-SLE-Manager-Tools-15-2022-1396
SUSE OpenStack Cloud 8
  • golang-github-prometheus-node_exporter >= 1.3.0-1.15.3
Patchnames:
SUSE-OpenStack-Cloud-8-2022-2134
SUSE OpenStack Cloud 9
  • golang-github-prometheus-node_exporter >= 1.3.0-1.15.3
Patchnames:
SUSE-OpenStack-Cloud-9-2022-2134
SUSE OpenStack Cloud Crowbar 8
  • golang-github-prometheus-node_exporter >= 1.3.0-1.15.3
Patchnames:
SUSE-OpenStack-Cloud-Crowbar-8-2022-2134
SUSE OpenStack Cloud Crowbar 9
  • golang-github-prometheus-node_exporter >= 1.3.0-1.15.3
Patchnames:
SUSE-OpenStack-Cloud-Crowbar-9-2022-2134
openSUSE Leap 15.3
  • grafana >= 8.3.5-150200.3.21.1
  • prometheus-postgres_exporter >= 0.10.0-150000.1.3.1
  • python3-rhnlib >= 4.2.6-150000.3.34.1
  • spacecmd >= 4.2.16-150000.3.77.1
Patchnames:
openSUSE-SLE-15.3-2022-1396
openSUSE-SLE-15.3-2022-1419
openSUSE Leap 15.4
  • grafana >= 8.3.5-150200.3.21.1
Patchnames:
openSUSE-SLE-15.4-2022-1419
openSUSE Tumbleweed
  • grafana >= 8.3.5-1.1
Patchnames:
openSUSE Tumbleweed GA grafana-8.3.5-1.1


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification.

Product(s) Source package State
HPE Helion OpenStack 8 grafana Unsupported
SUSE Enterprise Storage 6 grafana Affected
SUSE Manager Client Tools Beta for SLE 12 grafana Unsupported
SUSE Manager Client Tools Beta for SLE 15 grafana Released
SUSE Manager Client Tools for SLE 12 grafana Released
SUSE Manager Client Tools for SLE 15 grafana Released
SUSE Manager Tools 15 SP1 grafana Released
SUSE OpenStack Cloud 8 grafana Unsupported
SUSE OpenStack Cloud 9 grafana Unsupported
SUSE OpenStack Cloud Crowbar 8 grafana Unsupported
SUSE OpenStack Cloud Crowbar 9 grafana Unsupported
ses/7/ceph/grafana grafanaReleased
ses/7.1/ceph/grafana grafanaIn progress