Stored cross-site scripting in Grafana - CVE-2023-0594

 

Stored cross-site scripting in Grafana - CVE-2023-0594

Published: April 19, 2023


Vulnerability identifier: #VU75359
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2023-0594
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

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 in the trace view visualization. A remote user the Editor role can permanently 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

Grafana
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Desktop 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Manager Server
SUSE Manager Client Tools Beta for SLE Micro
SUSE Linux Enterprise Micro
Red Hat Enterprise Linux for x86_64
SUSE Manager Client Tools for SLE
SUSE Manager Client Tools Beta for SLE
SUSE Linux Enterprise Server for the Raspberry Pi
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise High Performance Computing
SUSE Package Hub 15
openSUSE Leap
Computer Vision Annotation Tool (CVAT)
Red Hat Ceph Storage
firewalld-prometheus-config
dracut-saltboot
kiwi-desc-saltboot
golang-github-QubitProducts-exporter_exporter
prometheus-postgres_exporter
golang-github-prometheus-promu
prometheus-blackbox_exporter-debuginfo
prometheus-blackbox_exporter
golang-github-prometheus-alertmanager
system-user-grafana
system-user-prometheus
golang-github-lusitaniae-apache_exporter
golang-github-lusitaniae-apache_exporter-debuginfo
supportutils-plugin-salt
golang-github-prometheus-node_exporter
golang-github-boynux-squid_exporter
golang-github-boynux-squid_exporter-debuginfo
python2-hwdata
python3-hwdata
ansible
ansible-doc
golang-github-prometheus-prometheus
python2-uyuni-common-libs
mgr-push
python2-mgr-push
supportutils-plugin-susemanager-client
python2-rhnlib
spacecmd
uyuni-proxy-systemd-services
python3-uyuni-common-libs
python3-mgr-push
python3-rhnlib
spacewalk-client-tools
spacewalk-check
python3-spacewalk-check
python3-spacewalk-client-tools
python3-spacewalk-client-setup
spacewalk-client-setup
python3-pyvmomi
grafana
grafana-debuginfo
Storage Ceph

How to mitigate CVE-2023-0594

Install update from vendor's website.

Grafana - addressed in versions 8.5.21, 9.2.13, 9.3.8
Computer Vision Annotation Tool (CVAT) - update to 2.7.4
firewalld-prometheus-config - update to 0.1-159000.6.33.1
dracut-saltboot - update to 0.1.1681904360.84ef141-159000.3.30.1
kiwi-desc-saltboot - update to 0.1.1687520761.cefb248-4.15.2
golang-github-QubitProducts-exporter_exporter - addressed in versions 0.4.0-4.6.2, 0.4.0-159000.4.6.1
prometheus-postgres_exporter - addressed in versions 0.10.1-3.6.4, 0.10.1-159000.3.6.1
golang-github-prometheus-promu - update to 0.14.0-4.12.2
prometheus-blackbox_exporter-debuginfo - update to 0.24.0-3.6.3
prometheus-blackbox_exporter - addressed in versions 0.24.0-3.6.3, 0.24.0-159000.3.6.1
golang-github-prometheus-alertmanager - update to 0.26.0-4.12.4
system-user-grafana - update to 1.0.0-3.7.2
system-user-prometheus - update to 1.0.0-3.7.2
golang-github-lusitaniae-apache_exporter - addressed in versions 1.0.0-4.12.4, 1.0.0-159000.4.12.1
golang-github-lusitaniae-apache_exporter-debuginfo - update to 1.0.0-159000.4.12.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 - update to 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 - update to 2.9.27-159000.3.9.1
ansible-doc - 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 - update to 5.0.1-3.33.3
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
spacecmd - addressed in versions 5.0.1-41.42.3, 5.0.1-159000.6.42.1
uyuni-proxy-systemd-services - update to 5.0.1-159000.3.9.1
python3-uyuni-common-libs - update to 5.0.1-159000.3.33.1
python3-mgr-push - update to 5.0.1-159000.4.21.1
python3-rhnlib - update to 5.0.1-159000.6.30.1
spacewalk-client-tools - update to 5.0.1-159000.6.48.1
spacewalk-check - update to 5.0.1-159000.6.48.1
python3-spacewalk-check - update to 5.0.1-159000.6.48.1
python3-spacewalk-client-tools - update to 5.0.1-159000.6.48.1
python3-spacewalk-client-setup - update to 5.0.1-159000.6.48.1
spacewalk-client-setup - update to 5.0.1-159000.6.48.1
Storage Ceph - update to 6.1
python3-pyvmomi - update to 6.7.3-159000.3.6.1
grafana - addressed in versions 8.5.22-1.45.1, 8.5.22-150000.1.45.1, 8.5.22-150200.3.38.1, 9.5.8-4.21.2, 9.5.8-159000.4.24.1
grafana-debuginfo - addressed in versions 8.5.22-150000.1.45.1, 8.5.22-150200.3.38.1, 9.5.8-159000.4.24.1

External References

Related Security Bulletins