Skip to content
Misconfiguration Write-up Beginner

Unlocking Cash: Easy P1 Bug in Grafana Dashboard with Default Credentials = €€€€

A Grafana dashboard was reachable with the default admin credentials, so anyone who found it could log in with full administrative rights. The author used that access to view sensitive analytics and could have created an API key to pull data out.

infosecwriteups.com

Published on infosecwriteups.com

I am Pratik Dabhi, a Bug Bounty Hunter and a Penetration Tester. Many of you may already know me, but for those who aren’t, please visit my website to learn more about me.

Pratik Dabhi, on infosecwriteups.com

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

The Grafana instance was left with its default administrator credentials unchanged.

Impact

An attacker could view sensitive server analytics and resource-utilisation data, and could generate an API key to pull resources out to a domain they control.

What the attacker needed

Grafana instance exposed on the internet; Default admin credentials unchanged; Ability to reach the login page

The fix

Default passwords should be replaced with strong, unique ones and rotated regularly.

How it was found

  1. Collect subdomains of the target with tools such as Subfinder.
  2. Probe archived URLs with waybackurls and httpx to find live hosts.
  3. Use httpx technology detection to spot a host running Grafana.
  4. Look up Grafana's default credentials and try them on the login page.
  5. Log in successfully with administrator privileges.
  6. Change the password and review the dashboard data.

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.

Grafana is a tool that shows charts and dashboards of system data. It ships with a built-in administrator account whose username and password are both 'admin'. If nobody changes that password, anyone who finds the dashboard on the internet can log in as the administrator and see or export the data.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.