Bounty
XE-16758 · Bounty

[Medium] Shipped monitoring stack exposes unauthenticated Prometheus lifecycle API and Alertmanager on all interfaces

Closed · duplicate —claimed Medium xe#657 filed 2026-11-17 05:46 UTC by kecedanzz77-bit

Report

Summary

The shipped monitoring compose (deploy/monitoring/compose.yml) binds Prometheus, Alertmanager, and Grafana to 0.0.0.0 with no authentication anywhere. --web.enable-lifecycle is explicitly enabled (not a Prometheus default): anyone reaching port 9090 can POST /-/quit to shut Prometheus down or POST /-/reload to reload its config, unauthenticated. Alertmanager has no auth mechanism configured: anyone reaching port 9093 can create silences suppressing alerts -- including the critical consensus/supply alerts (deploy/monitoring/alerts.yml). The Grafana password falls back to changeme when GF_ADMIN_PASSWORD is unset.

Root Cause

  • deploy/monitoring/compose.yml:5: Prometheus 9090:9090.
  • :14: --web.enable-lifecycle (explicitly enabled).
  • :19: Alertmanager 9093:9093, no auth.
  • :30, :32: Grafana 3000:3000, GF_SECURITY_ADMIN_PASSWORD: ${GF_ADMIN_PASSWORD:-changeme}.

Impact

An attacker can blind the team's monitoring (shut down Prometheus, silence critical alerts) -- a force multiplier during an attack on the network. #178 proves the team deploys this stack on a public host (Grafana live at 45.77.226.208:3000), so the Prometheus/Alertmanager ports are exposed by the same deployment pattern.

Verification

Source-level at HEAD 8cc209d (testnet-0006). The compose file is as quoted above.

Note on related reports

#178 covers Grafana anonymous access/SSRF on the live host -- it does not cover the Prometheus lifecycle API or Alertmanager auth. #580 covers scrape config only. The Prometheus/Alertmanager angles are distinct.

Suggested fix

Remove --web.enable-lifecycle (or put Prometheus behind an authenticated reverse proxy), bind all three services to loopback / put behind a VPN, and fail to start Grafana when no admin password is set instead of defaulting to changeme.

Thread

Joseph Denneteam2026-11-22 23:26 UTCdesk

Thanks. This is the same finding as an earlier report that is not public, which was filed first; the programme pays the first verifiable submission, so this one closes as a duplicate. If you believe it is a different bug, file a new report that links https://bounty.xe.network/XE-16758 and says what differs; it is read like any other.