Skip to main content

Security Exposure

Applications on 3000 are often dashboards or development servers. Grafana's default admin_user and admin_password are both admin, set on first run, and the default Grafana Admin has full permissions, so a reachable instance with an unchanged password is fully exposed. Grafana strongly recommends changing the default administrator password.

Hardening

  • Change Grafana's admin_password before first start, or immediately after, and remove unused local accounts.
  • Put Grafana behind a reverse proxy with TLS and single sign-on instead of exposing port 3000 directly.
  • Bind development servers to localhost and do not publish them through firewalls or cloud security groups.
  • Keep Grafana updated and review its security advisories.

Monitoring

Inventory hosts listening on 3000 and confirm each one has an owner and authentication. For Grafana, confirm the default admin password was changed and review which users hold administrator rights.

Grafana / dev servers Vulnerabilities

2 CVEs
CVECVSS
CVE-2021-43798KEV
Grafana path traversal
7.5
CVE-2021-39226KEV
Snapshot authentication bypass in grafana
9.8

Frequently Asked Questions

What uses port 3000?→

Grafana listens on 3000 by default, and many Node.js examples, including the Express hello world app, use it as a development port. IANA's assignments for 3000 are unrelated.

What is the default Grafana login?→

Grafana's configuration reference lists admin as the default admin_user and admin as the default admin_password, set on first run.

How do I change the Grafana port?→

Set http_port in the [server] section of the Grafana configuration file. Binding to port 80 requires extra privileges, as the Grafana docs explain.

Which vulnerabilities affect the service on port 3000?→

This database lists 2 CVEs related to Grafana / dev servers, 2 of them confirmed as exploited by CISA. Examples: CVE-2021-43798, CVE-2021-39226.

Port assignments from the IANA Service Name and Transport Protocol Port Number Registry. Services can be configured to run on any port, so traffic on port 3000 is not guaranteed to be Grafana / dev servers. Exploited-in-the-wild data from the CISA KEV catalog (CC0).