Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2023-40577

Опубликовано: 24 авг. 2023
Источник: redhat
CVSS3: 7.5

Описание

Alertmanager handles alerts sent by client applications such as the Prometheus server. An attacker with the permission to perform POST requests on the /api/v1/alerts endpoint could be able to execute arbitrary JavaScript code on the users of Prometheus Alertmanager. This issue has been fixed in Alertmanager version 0.2.51.

Prometheus Alertmanager is vulnerable to cross-site scripting due to improper validation of user-supplied input by the /api/v1/alerts endpoint. This issue could allow a remote attacker to inject malicious script into a web page, which would be executed in a victim's web browser within the hosting website once the page is viewed, allow the attacker to steal the victim's cookie-based authentication credentials.

Отчет

This vulnerability affects Prometheus Alertmanager v0.25.0, which is not shipped in Red Hat OpenShift container platform, therefore, this is marked as Not affected.

Меры по смягчению последствий

Users can setup a reverse proxy in front of the Alertmanager web server to forbid access to the /api/v1/alerts endpoint.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/prometheus-alertmanager-rhel8Not affected
Red Hat OpenShift Container Platform 3.11golang-github-prometheus-alertmanagerNot affected
Red Hat OpenShift Container Platform 3.11openshift3/prometheus-alertmanagerNot affected
Red Hat OpenShift Container Platform 4.15openshift4/ose-prometheus-alertmanagerFixedRHSA-2023:719827.02.2024

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-79
https://bugzilla.redhat.com/show_bug.cgi?id=2235479prometheus-alertmanager: UI is vulnerable to stored XSS via the /api/v1/alerts endpoint

7.5 High

CVSS3

Связанные уязвимости

CVSS3: 7.5
ubuntu
больше 2 лет назад

Alertmanager handles alerts sent by client applications such as the Prometheus server. An attacker with the permission to perform POST requests on the /api/v1/alerts endpoint could be able to execute arbitrary JavaScript code on the users of Prometheus Alertmanager. This issue has been fixed in Alertmanager version 0.2.51.

CVSS3: 7.5
nvd
больше 2 лет назад

Alertmanager handles alerts sent by client applications such as the Prometheus server. An attacker with the permission to perform POST requests on the /api/v1/alerts endpoint could be able to execute arbitrary JavaScript code on the users of Prometheus Alertmanager. This issue has been fixed in Alertmanager version 0.2.51.

CVSS3: 7.5
debian
больше 2 лет назад

Alertmanager handles alerts sent by client applications such as the Pr ...

suse-cvrf
около 2 лет назад

Security update for golang-github-prometheus-alertmanager

CVSS3: 5.4
github
больше 2 лет назад

Alertmanager UI is vulnerable to stored XSS via the /api/v1/alerts endpoint

7.5 High

CVSS3