Stored cross-site scripting in Grafana - CVE-2022-31097
Published: July 15, 2022 / Updated: July 27, 2022
Vulnerability details
The disclosed vulnerability allows a remote user to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data. A remote user can inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
Affected software
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Desktop 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing 12
SUSE CaaS Platform
SUSE Manager Server
SUSE Manager Proxy
SUSE Linux Enterprise Module for SUSE Manager Server
SUSE Linux Enterprise Module for SUSE Manager Proxy
SUSE Manager Proxy Module
SUSE Manager Retail Branch Server
SUSE Linux Enterprise Micro
SUSE Manager Client Tools for SLE Micro
SUSE Manager Client Tools Beta for SLE Micro
SUSE Enterprise Storage
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
SUSE OpenStack Cloud
SUSE OpenStack Cloud Crowbar
Red Hat Enterprise Linux for Power, little endian
SUSE Manager Tools
SUSE Manager Client Tools Beta for SLE
SUSE Manager Client Tools for SLE
SUSE Linux Enterprise Server for the Raspberry Pi
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS
SUSE Linux Enterprise Server 15 SP1 LTSS
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Package Hub 15
openSUSE Leap
openEuler
Fedora
IBM Watson Machine Learning Accelerator
Storage Ceph
EMC Cloud Tiering Appliance
SUSE Linux Enterprise Module for Packagehub Subpackages
firewalld-prometheus-config
kiwi-desc-saltboot
dracut-saltboot
golang-github-QubitProducts-exporter_exporter
wire-debuginfo
wire
prometheus-postgres_exporter
golang-github-lusitaniae-apache_exporter
golang-github-lusitaniae-apache_exporter-debuginfo
golang-github-prometheus-promu
golang-github-prometheus-alertmanager
prometheus-blackbox_exporter
prometheus-blackbox_exporter-debuginfo
system-user-grafana
system-user-prometheus
python2-zypp-plugin-spacewalk
zypp-plugin-spacewalk
python3-zypp-plugin-spacewalk
supportutils-plugin-salt
golang-github-prometheus-node_exporter
golang-github-boynux-squid_exporter
golang-github-boynux-squid_exporter-debuginfo
python2-hwdata
python3-hwdata
ansible-doc
ansible
golang-github-prometheus-prometheus
python2-uyuni-common-libs
mgr-daemon
python3-uyuni-common-libs
python2-spacewalk-check
python2-spacewalk-client-setup
python2-spacewalk-client-tools
spacewalk-client-tools
spacewalk-client-setup
spacewalk-check
python3-spacewalk-client-setup
python3-spacewalk-check
python3-spacewalk-client-tools
spacecmd
mgr-push
python2-mgr-push
supportutils-plugin-susemanager-client
python2-rhnlib
uyuni-proxy-systemd-services
python3-mgr-push
python3-rhnlib
python3-pyvmomi
grafana
grafana-debuginfo
grafana-selinux
grafana-debugsource
libns1604-32bit-debuginfo
libbind9-1600
libisccfg1600
bind-utils
libdns1605
libirs1601
bind-doc
bind-devel-32bit
libisccc1600-32bit-debuginfo
libdns1605-32bit-debuginfo
libns1604-32bit
libirs1601-32bit-debuginfo
libisccfg1600-debuginfo
libdns1605-32bit
libisccfg1600-32bit
libbind9-1600-32bit
libisccc1600-32bit
libirs1601-32bit
libisc1606-32bit-debuginfo
libbind9-1600-32bit-debuginfo
libisc1606-32bit
libisccfg1600-32bit-debuginfo
libisc1606
libisccc1600-debuginfo
libirs-devel
bind-chrootenv
bind-debugsource
libirs1601-debuginfo
libdns1605-debuginfo
libns1604-debuginfo
libbind9-1600-debuginfo
libisc1606-debuginfo
bind-devel
bind
bind-utils-debuginfo
bind-debuginfo
libns1604
libisc1606-64bit
libisccfg1600-64bit
libirs1601-64bit
libbind9-1600-64bit
libdns1605-64bit
libisccc1600-64bit
python3-bind
libisccc1600
Red Hat Ceph Storage
How to mitigate CVE-2022-31097
IBM Watson Machine Learning Accelerator - update to 3.0.0
firewalld-prometheus-config - update to 0.1-159000.6.33.1
kiwi-desc-saltboot - addressed in versions 0.1.1661440542.6cbe0da-1.29.1, 0.1.1687520761.cefb248-4.15.2
dracut-saltboot - addressed in versions 0.1.1661440542.6cbe0da-150000.1.38.1, 0.1.1681904360.84ef141-150000.1.50.1, 0.1.1681904360.84ef141-159000.3.30.1
golang-github-QubitProducts-exporter_exporter - addressed in versions 0.4.0-4.6.2, 0.4.0-159000.4.6.1
wire-debuginfo - update to 0.5.0-150000.1.12.3
wire - update to 0.5.0-150000.1.12.3
prometheus-postgres_exporter - addressed in versions 0.10.1-3.6.4, 0.10.1-159000.3.6.1
golang-github-lusitaniae-apache_exporter - addressed in versions 0.11.0-1.13.1, 0.11.0-150000.1.12.1, 1.0.0-4.12.4, 1.0.0-159000.4.12.1
golang-github-lusitaniae-apache_exporter-debuginfo - addressed in versions 0.11.0-150000.1.12.1, 1.0.0-159000.4.12.1
golang-github-prometheus-promu - update to 0.14.0-4.12.2
golang-github-prometheus-alertmanager - addressed in versions 0.23.0-1.15.2, 0.26.0-4.12.4
prometheus-blackbox_exporter - addressed in versions 0.24.0-3.6.3, 0.24.0-159000.3.6.1
prometheus-blackbox_exporter-debuginfo - update to 0.24.0-3.6.3
system-user-grafana - update to 1.0.0-3.7.2
system-user-prometheus - update to 1.0.0-3.7.2
python2-zypp-plugin-spacewalk - update to 1.0.14-30.42.1
zypp-plugin-spacewalk - addressed in versions 1.0.14-30.42.1, 1.0.14-150000.3.35.1
python3-zypp-plugin-spacewalk - update to 1.0.14-150000.3.35.1
supportutils-plugin-salt - addressed in versions 1.2.2-9.9.2, 1.2.2-159000.5.9.1
golang-github-prometheus-node_exporter - addressed in versions 1.3.0-1.21.1, 1.3.0-150000.3.18.1, 1.5.0-4.15.4
golang-github-boynux-squid_exporter - addressed in versions 1.6-4.9.2, 1.6-159000.4.9.1
golang-github-boynux-squid_exporter-debuginfo - update to 1.6-159000.4.9.1
python2-hwdata - update to 2.3.5-15.12.2
python3-hwdata - update to 2.3.5-159000.5.13.1
ansible-doc - update to 2.9.27-159000.3.9.1
ansible - update to 2.9.27-159000.3.9.1
golang-github-prometheus-prometheus - addressed in versions 2.45.0-4.33.3, 2.45.0-159000.6.33.1
python2-uyuni-common-libs - addressed in versions 4.3.6-1.27.1, 4.3.8-1.33.1, 5.0.1-3.33.3
mgr-daemon - addressed in versions 4.3.6-1.38.1, 4.3.6-150000.1.38.1, 4.3.7-1.41.1, 4.3.7-150000.1.41.1
python3-uyuni-common-libs - addressed in versions 4.3.6-150000.1.27.2, 4.3.8-150000.1.33.1, 5.0.1-159000.3.33.1
python2-spacewalk-check - update to 4.3.12-52.77.1
python2-spacewalk-client-setup - update to 4.3.12-52.77.1
python2-spacewalk-client-tools - update to 4.3.12-52.77.1
spacewalk-client-tools - addressed in versions 4.3.12-52.77.1, 4.3.12-150000.3.68.2, 5.0.1-159000.6.48.1
spacewalk-client-setup - addressed in versions 4.3.12-52.77.1, 4.3.12-150000.3.68.2, 5.0.1-159000.6.48.1
spacewalk-check - addressed in versions 4.3.12-52.77.1, 4.3.12-150000.3.68.2, 5.0.1-159000.6.48.1
python3-spacewalk-client-setup - addressed in versions 4.3.12-150000.3.68.2, 5.0.1-159000.6.48.1
python3-spacewalk-check - addressed in versions 4.3.12-150000.3.68.2, 5.0.1-159000.6.48.1
python3-spacewalk-client-tools - addressed in versions 4.3.12-150000.3.68.2, 5.0.1-159000.6.48.1
spacecmd - addressed in versions 4.3.15-38.109.1, 4.3.15-150000.3.86.1, 4.3.21-38.121.1, 4.3.21-150000.3.98.1, 5.0.1-41.42.3, 5.0.1-159000.6.42.1
mgr-push - addressed in versions 5.0.1-4.21.4, 5.0.1-159000.4.21.1
python2-mgr-push - update to 5.0.1-4.21.4
supportutils-plugin-susemanager-client - addressed in versions 5.0.1-9.15.2, 5.0.1-159000.6.15.1
python2-rhnlib - update to 5.0.1-24.30.3
uyuni-proxy-systemd-services - update to 5.0.1-159000.3.9.1
python3-mgr-push - update to 5.0.1-159000.4.21.1
python3-rhnlib - update to 5.0.1-159000.6.30.1
Red Hat Ceph Storage - update to 6.1
Storage Ceph - update to 6.1
python3-pyvmomi - update to 6.7.3-159000.3.6.1
grafana - addressed in versions 8.3.10-1.33.2, 8.3.10-150000.1.33.1, 8.3.10-150200.3.26.1, 8.5.13-150100.3.12.1, 9.5.1-1.48.1, 9.5.1-150000.1.48.5, 9.5.1-150200.3.41.3, 9.5.8-4.21.2, 9.5.8-159000.4.24.1
grafana-debuginfo - addressed in versions 8.3.10-150000.1.33.1, 8.3.10-150200.3.26.1, 8.5.13-150100.3.12.1, 9.5.1-150000.1.48.5, 9.5.1-150200.3.41.3, 9.5.8-159000.4.24.1
grafana - update to 9.0.5-1.fc37
grafana-selinux - update to 9.2.10-1
grafana-debugsource - update to 9.2.10-1
grafana-debuginfo - update to 9.2.10-1
grafana - update to 9.2.10-1
libns1604-32bit-debuginfo - update to 9.16.6-150000.12.65.1
libbind9-1600 - update to 9.16.6-150000.12.65.1
libisccfg1600 - update to 9.16.6-150000.12.65.1
bind-utils - update to 9.16.6-150000.12.65.1
libdns1605 - update to 9.16.6-150000.12.65.1
libirs1601 - update to 9.16.6-150000.12.65.1
bind-doc - update to 9.16.6-150000.12.65.1
bind-devel-32bit - update to 9.16.6-150000.12.65.1
libisccc1600-32bit-debuginfo - update to 9.16.6-150000.12.65.1
libdns1605-32bit-debuginfo - update to 9.16.6-150000.12.65.1
libns1604-32bit - update to 9.16.6-150000.12.65.1
libirs1601-32bit-debuginfo - update to 9.16.6-150000.12.65.1
libisccfg1600-debuginfo - update to 9.16.6-150000.12.65.1
libdns1605-32bit - update to 9.16.6-150000.12.65.1
libisccfg1600-32bit - update to 9.16.6-150000.12.65.1
libbind9-1600-32bit - update to 9.16.6-150000.12.65.1
libisccc1600-32bit - update to 9.16.6-150000.12.65.1
libirs1601-32bit - update to 9.16.6-150000.12.65.1
libisc1606-32bit-debuginfo - update to 9.16.6-150000.12.65.1
libbind9-1600-32bit-debuginfo - update to 9.16.6-150000.12.65.1
libisc1606-32bit - update to 9.16.6-150000.12.65.1
libisccfg1600-32bit-debuginfo - update to 9.16.6-150000.12.65.1
libisc1606 - update to 9.16.6-150000.12.65.1
libisccc1600-debuginfo - update to 9.16.6-150000.12.65.1
libirs-devel - update to 9.16.6-150000.12.65.1
bind-chrootenv - update to 9.16.6-150000.12.65.1
bind-debugsource - update to 9.16.6-150000.12.65.1
libirs1601-debuginfo - update to 9.16.6-150000.12.65.1
libdns1605-debuginfo - update to 9.16.6-150000.12.65.1
libns1604-debuginfo - update to 9.16.6-150000.12.65.1
libbind9-1600-debuginfo - update to 9.16.6-150000.12.65.1
libisc1606-debuginfo - update to 9.16.6-150000.12.65.1
bind-devel - update to 9.16.6-150000.12.65.1
bind - update to 9.16.6-150000.12.65.1
bind-utils-debuginfo - update to 9.16.6-150000.12.65.1
bind-debuginfo - update to 9.16.6-150000.12.65.1
libns1604 - update to 9.16.6-150000.12.65.1
libisc1606-64bit - update to 9.16.6-150000.12.65.1
libisccfg1600-64bit - update to 9.16.6-150000.12.65.1
libirs1601-64bit - update to 9.16.6-150000.12.65.1
libbind9-1600-64bit - update to 9.16.6-150000.12.65.1
libdns1605-64bit - update to 9.16.6-150000.12.65.1
libisccc1600-64bit - update to 9.16.6-150000.12.65.1
python3-bind - update to 9.16.6-150000.12.65.1
libisccc1600 - update to 9.16.6-150000.12.65.1
EMC Cloud Tiering Appliance - update to 13.2.0.2.24
External References
- https://github.com/grafana/grafana/releases/tag/v8.4.10
- https://github.com/grafana/grafana/pull/52279
- https://github.com/grafana/grafana/releases/tag/v9.0.3
- https://github.com/grafana/grafana/releases/tag/v8.3.10
- https://github.com/grafana/grafana/releases/tag/v8.5.9
- https://github.com/grafana/grafana/security/advisories/GHSA-vw7q-p2qg-4m5f
Related Security Bulletins
- Multiple vulnerabilities in Grafana
- SUSE update for grafana
- SUSE update for grafana
- SUSE update for SUSE Manager Client Tools
- SUSE update for SUSE Manager Client Tools
- Multiple vulnerabilities in Red Hat Ceph Storage
- SUSE update for SUSE Manager Client Tools
- SUSE update for SUSE Manager Client Tools
- SUSE update for SUSE Manager Client Tools
- Multiple vulnerabilities in Dell Cloud Tiering Appliance
- Stored cross-site scripting in IBM Storage Ceph
- SUSE update for Security Beta update for SUSE Manager Client Tools and Salt
- SUSE update for Security Beta update for SUSE Manager Client Tools
- Multiple vulnerabilities in IBM Watson Machine Learning Accelerator on Cloud Pak for Data
- Fedora 37 update for grafana
- openEuler 22.03 LTS SP4 update for grafana
- openEuler 22.03 LTS SP3 update for grafana
- openEuler 24.03 LTS SP1 update for grafana
- openEuler 24.03 LTS update for grafana