PT-2023-9332 · Unknown+6 · Alertmanager+6
Oxeye-Daniel
+1
·
Published
2023-08-23
·
Updated
2024-11-08
·
CVE-2023-40577
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Alertmanager versions prior to 0.2.51
Description
The issue is related to the improper neutralization of input data during web page generation in the /api/v1/alerts endpoint of the Alertmanager component in the Prometheus monitoring system. An attacker with permission to perform POST requests on the /api/v1/alerts endpoint could execute arbitrary JavaScript code on the users of Prometheus Alertmanager.
Recommendations
For versions prior to 0.2.51, upgrade to Alertmanager version 0.2.51.
As a temporary workaround, consider setting up a reverse proxy in front of the Alertmanager web server to forbid access to the /api/v1/alerts endpoint.
Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Alertmanager
Debian
Linuxmint
Red Os
Suse
Ubuntu