How I Found an Exposed Prometheus Metrics Endpoint and Earned ₹5,000 in Bug Bounty
A Prometheus metrics endpoint was publicly reachable without authentication, exposing internal service names, instance identifiers and runtime statistics. Anyone on the internet could read this monitoring data, which helps map infrastructure and fingerprint technologies.
Published on medium.com
Every bug bounty hunter has that moment — a simple recon step suddenly turns into a serious security finding.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the monitoring service was bound to a public interface and deployed without authentication or network restrictions.
Impact
Anyone could read internal monitoring data that reveals hostnames, services, frameworks and versions, which could help plan later attacks; the text does not show that secrets were actually exposed.
What the attacker needed
Internet access; no account needed
The fix
The endpoints should be restricted to internal networks or a VPN, protected with authentication, and blocked from public requests at the proxy; the text says the issue was fixed.
How it was found
- Enumerate subdomains and check common endpoints such as /metrics, /health, /status, /debug and /api.
- Open the Prometheus metrics endpoint in a browser and observe that it returns data without a login prompt.
- Review the output for internal service names, instance identifiers, job labels and monitoring targets.
- Test additional host and port variations and find more endpoints returning metrics without authentication.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Prometheus is a tool that collects numbers about how servers and services are running, such as CPU use and memory. Normally only staff inside the company network should see these numbers. Here the page was open to everyone on the internet, so a stranger could read the company's internal service names and setup details.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.