Alertmanager <=0.2.51 Arbitrary JS Exec via /api/v1/alerts
CVE-2023-40577 Published on August 25, 2023

Alertmanager UI is vulnerable to stored XSS via the /api/v1/alerts endpoint
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.

NVD

Vulnerability Analysis

CVE-2023-40577 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a high impact on confidentiality, with no impact on integrity and availability.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
NONE
User Interaction:
NONE
Scope:
UNCHANGED
Confidentiality Impact:
HIGH
Integrity Impact:
NONE
Availability Impact:
NONE

Weakness Type

What is a XSS Vulnerability?

The software does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

CVE-2023-40577 has been classified to as a XSS vulnerability or weakness.


Products Associated with CVE-2023-40577

You can be notified by email with stack.watch whenever vulnerabilities like CVE-2023-40577 are published in these products:

 
 
 

Affected Versions

prometheus alertmanager Version <= 0.25.0 is affected by CVE-2023-40577

Exploit Probability

EPSS
3.58%
Percentile
87.53%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.