<!-- XE-16758 · [Medium] Shipped monitoring stack exposes unauthenticated Prometheus lifecycle API and Alertmanager on all interfaces · testnet -->
*Markdown view of <https://bounty.xe.network/XE-16758>. The page is the record; this is the same page for reading.*

XE-16758 · Bounty

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

Closed · duplicate
—claimed Medium
[xe#657](https://github.com/xeprotocol/xe/issues/657)
filed 2026-11-17 05:46 UTC
by kecedanzz77-bit

Verdict
:   Duplicate

Tier
:   —

Claimed
:   Medium

Area
:   Ops / testnet

Duplicate of
:   —

Tracked
:   —

Updated
:   2026-11-22 23:26 UTC

Told
:   2026-11-22 23:26 UTC

### Patches

None linked.

### History

- [770277](https://bounty.xe.network/log/770277) 2026-11-22 23:26 UTC reply.mirror\_failed
- [770073](https://bounty.xe.network/log/770073) 2026-11-22 23:26 UTC proposal.adopted
- [770072](https://bounty.xe.network/log/770072) 2026-11-22 23:26 UTC reply.sent
- [770071](https://bounty.xe.network/log/770071) 2026-11-22 23:26 UTC ticket.status new → closed
- [769277](https://bounty.xe.network/log/769277) 2026-11-22 23:26 UTC proposal.adopted
- [769276](https://bounty.xe.network/log/769276) 2026-11-22 23:26 UTC ticket.facts area
- [769275](https://bounty.xe.network/log/769275) 2026-11-22 23:26 UTC proposal.adopted
- [769274](https://bounty.xe.network/log/769274) 2026-11-22 23:26 UTC ticket.facts
- [769273](https://bounty.xe.network/log/769273) 2026-11-22 23:26 UTC proposal.adopted
- [769272](https://bounty.xe.network/log/769272) 2026-11-22 23:26 UTC ticket.facts
- [766162](https://bounty.xe.network/log/766162) 2026-11-22 23:17 UTC note.added
- [766157](https://bounty.xe.network/log/766157) 2026-11-22 23:17 UTC proposal.created

[Full history](https://bounty.xe.network/log?ref=XE-16758) · [JSON](https://bounty.xe.network/v1/tickets/XE-16758) · [markdown](https://bounty.xe.network/XE-16758.md)

### 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 Denne**team2026-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.
