Port 5601: Kibana web interface
Port 5601 is the default HTTP port of Kibana, the web interface for searching and visualizing data stored in Elasticsearch. The server.port setting defaults to 5601 and server.host defaults to localhost. IANA assigns 5601 to esmagent (Enterprise Security Agent), which differs from this common use.
Updated
Security Exposure
Kibana queries and displays the data held in the connected Elasticsearch cluster, so an instance that is reachable without authentication exposes that data. NVD describes CVE-2019-7609 as an arbitrary code execution flaw in the Timelion visualizer of Kibana versions before 5.6.15 and 6.6.1, and the CVE is listed in the CISA KEV catalog. Setting server.host to 0.0.0.0 makes Kibana listen on all interfaces, public and private.
Hardening
- Keep server.host on localhost or an internal address and publish Kibana through an authenticating reverse proxy if remote access is needed.
- Keep Elasticsearch security enabled so Kibana users must log in. Recent releases configure it automatically on the first node start unless security was explicitly disabled.
- Configure HTTPS for Kibana, which Elastic documents as a manual step.
- Upgrade Kibana to supported releases that include security fixes.
Monitoring
Enable Kibana and Elasticsearch audit logging, which Elastic documents as recording authentication attempts and authorization decisions, and review it for failed logins. Alert on connections to 5601 from outside the admin network.
Kibana Vulnerabilities
1 CVEs| CVE | Title | Vendor | CVSS | EPSS | KEV | Published |
|---|---|---|---|---|---|---|
| CVE-2019-7609KEV Kibana Arbitrary Code Execution | Kibana Arbitrary Code Execution | Elastic | 9.8 | 95.3% | KEV | 2019-03-25 |
Frequently Asked Questions
What is port 5601 used for?→
Port 5601 is the default port of the Kibana web interface according to Elastic's settings reference.
Is Kibana exposed by default?→
No. The server.host setting defaults to localhost, so remote access requires changing it.
Which vulnerabilities affect the service on port 5601?→
This database lists 1 CVE related to Kibana, 1 of them confirmed as exploited by CISA. Examples: CVE-2019-7609.
Sources
- IANA Service Name and Transport Protocol Port Number Registry: 5601
- Kibana Docs: General settings
- Elastic Docs: Set up basic security plus HTTPS
- NVD: CVE-2019-7609
- CISA Known Exploited Vulnerabilities Catalog: CVE-2019-7609
- Elastic Docs: Automatic security setup
- Elastic Docs: Security event audit logging
- Elastic Docs: The Elastic Stack
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 5601 is not guaranteed to be Kibana. Exploited-in-the-wild data from the CISA KEV catalog (CC0).