Stored cross-site scripting in alertmanager - CVE-2023-40577
Published: August 25, 2023 / Updated: January 23, 2024
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 passed to the /api/v1/alerts endpoint in the Alertmanager UI. A remote user can inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
Affected software
ObjectScale
SUSE Linux Enterprise Desktop 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise High Performance Computing 12
SUSE Manager Proxy
SUSE Manager Proxy Module
SUSE Manager Retail Branch Server
SUSE Linux Enterprise Micro
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 Desktop
SUSE Linux Enterprise High Performance Computing
SUSE Package Hub 15
openSUSE Leap
Ubuntu
Oracle Communications Cloud Native Core Network Function Cloud Native Environment
golang-github-prometheus-alertmanager-dev (Ubuntu package)
prometheus-alertmanager (Ubuntu package)
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
golang-github-lusitaniae-apache_exporter
system-user-prometheus
system-user-grafana
supportutils-plugin-salt
golang-github-prometheus-node_exporter
golang-github-boynux-squid_exporter
python2-hwdata
golang-github-prometheus-prometheus
mgr-daemon
spacewalk-client-tools
spacewalk-client-setup
python2-spacewalk-client-setup
python2-spacewalk-client-tools
spacewalk-check
python2-spacewalk-check
spacecmd
python2-uyuni-common-libs
python2-mgr-push
mgr-push
supportutils-plugin-susemanager-client
python2-rhnlib
grafana
Red Hat OpenShift Container Platform
How to mitigate CVE-2023-40577
golang-github-prometheus-alertmanager-dev (Ubuntu package) - addressed in versions Ubuntu Pro, 0.15.3+ds-3ubuntu1.2
prometheus-alertmanager (Ubuntu package) - addressed in versions Ubuntu Pro, 0.15.3+ds-3ubuntu1.2
kiwi-desc-saltboot - update to 0.1.1687520761.cefb248-4.15.2
golang-github-QubitProducts-exporter_exporter - update to 0.4.0-4.6.2
prometheus-postgres_exporter - addressed in versions 0.10.1-1.17.2, 0.10.1-3.6.4
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 - update to 0.24.0-3.6.3
golang-github-prometheus-alertmanager - addressed in versions 0.26.0-1.24.2, 0.26.0-4.12.4, 0.26.0-150100.4.19.1
golang-github-lusitaniae-apache_exporter - addressed in versions 1.0.0-1.21.2, 1.0.0-4.12.4
system-user-prometheus - update to 1.0.0-3.7.2
system-user-grafana - update to 1.0.0-3.7.2
supportutils-plugin-salt - update to 1.2.2-9.9.2
ObjectScale - update to 1.4.0
golang-github-prometheus-node_exporter - update to 1.5.0-4.15.4
golang-github-boynux-squid_exporter - update to 1.6-4.9.2
python2-hwdata - update to 2.3.5-15.12.2
golang-github-prometheus-prometheus - addressed in versions 2.45.0-1.50.2, 2.45.0-4.33.3
mgr-daemon - update to 4.3.8-1.44.2
spacewalk-client-tools - update to 4.3.18-52.95.2
spacewalk-client-setup - update to 4.3.18-52.95.2
python2-spacewalk-client-setup - update to 4.3.18-52.95.2
python2-spacewalk-client-tools - update to 4.3.18-52.95.2
spacewalk-check - update to 4.3.18-52.95.2
python2-spacewalk-check - update to 4.3.18-52.95.2
spacecmd - addressed in versions 4.3.26-38.136.2, 5.0.1-41.42.3
Red Hat OpenShift Container Platform - update to 4.15.0
python2-uyuni-common-libs - update to 5.0.1-3.33.3
python2-mgr-push - update to 5.0.1-4.21.4
mgr-push - update to 5.0.1-4.21.4
supportutils-plugin-susemanager-client - update to 5.0.1-9.15.2
python2-rhnlib - update to 5.0.1-24.30.3
grafana - addressed in versions 9.5.8-1.60.1, 9.5.8-4.21.2
External References
Related Security Bulletins
- Stored XSS in Alertmanager
- SUSE update for Security Beta update for SUSE Manager Client Tools
- SUSE update for golang-github-prometheus-alertmanager
- SUSE update for SUSE Manager Client Tools
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.15
- Ubuntu update for prometheus-alertmanager
- Multiple vulnerabilities in Dell ObjectScale
- Multiple vulnerabilities in Oracle Communications Cloud Native Core Network Function Cloud Native Environment