Skip to main content

Wolfcore Cyber Security

Port 5601 (Kibana): Risks, Attacks and How to Secure It

Written by Ruben Selby, founder and penetration tester at Wolfcore. Last reviewed 20 November 2026.

In one sentence: Port 5601 is the door to Kibana, the screen many businesses use to look at their logs and search data, so if it is open to the internet without a login, anyone can read what is behind it.

What runs on this port

Kibana is the web interface for Elasticsearch, the search and log database behind the Elastic Stack. Elastic’s documentation gives the default port as 5601. It also says the default listening host is localhost, so a fresh install only talks to the machine it runs on. Someone has to change the host setting (for example to 0.0.0.0, which means every network address) before remote users can connect.

Businesses use Kibana for security logs, website analytics and application monitoring. That means the data behind it is often sensitive: usernames, IP addresses, internal hostnames and sometimes customer details.

Why attackers look for it

Internet-wide scanners and device search engines record which addresses answer on which ports. Port 5601 with a Kibana login page is easy to recognise. Attackers do not need to know your company. They filter the scan data for “Kibana” and try each result.

How it gets attacked

  • No authentication. Elastic’s minimal security guide describes security as something you switch on (the xpack.security.enabled setting). Older or hand-built installs that never enabled it can expose dashboards to anyone who reaches the port.
  • Weak or shared credentials. A login page that accepts a short or reused password for the built-in superuser is open to guessing.
  • No encryption. Elastic states that minimal security is not enough for production and that traffic between your browser and Kibana is unencrypted until you configure TLS.
  • Outdated versions. CVE-2019-7609 is a flaw in the Timelion visualiser in Kibana before 5.6.15 and 6.6.1. The NVD record says a request could run JavaScript on the host with the permissions of the Kibana process. NVD also lists it as added to the CISA Known Exploited Vulnerabilities catalogue on 10 January 2022, which means it was seen used in real attacks.

Who it affects and how badly

  • Sole trader to 10 staff: rare, but a self-hosted log server left open can leak customer email addresses and internal system names.
  • 10 to 50 staff and SaaS start-ups: a dashboard built quickly for a project, then forgotten. Worst case is exposed customer data and a breach notification duty under GDPR or UK GDPR.
  • 50 to 250 staff, MSPs, fintech and insurance: Kibana often holds security logs from many systems. An attacker who reads them learns your network layout and can see what you do and do not detect. Regulated firms face regulator questions as well as client trust.
  • Healthcare and councils: logs can contain identifiers of patients or residents.

What we check on a test

  • Whether 5601 answers from outside, using the same kind of scan an attacker uses.
  • Whether a login is enforced, and whether the page leaks a version number.
  • Whether the Kibana version is within vendor support and free of known exploited flaws.
  • Whether Kibana and Elasticsearch sit behind a VPN, reverse proxy or single sign-on.
  • Whether the data visible after login is more than that user needs.

How to check whether yours is exposed

  1. List every server running Elastic components in your asset list.
  2. Check the server.host value in kibana.yml. A value of 0.0.0.0 means all networks.
  3. Check your firewall or cloud security group for inbound rules allowing 5601 from “any”.
  4. Run the free scan at free web vulnerability scan and see how to check open ports in /resources/security-tools/how-to-check-which-ports-are-open-on-your-network/.

How to secure it

  1. Remove public access: allow 5601 only from a VPN or office address range, or leave the host on localhost behind a reverse proxy.
  2. Turn on Elasticsearch security (xpack.security.enabled: true) and set strong, unique passwords for built-in users.
  3. Configure TLS for browser to Kibana traffic and between nodes, as Elastic says minimal security alone is not enough.
  4. Create roles with only the access each person needs, using Spaces and role-based access control.
  5. Keep Kibana on a supported version and apply Elastic security updates.
  6. Log and review sign-ins to Kibana.

A login page is only as safe as the people who hold the passwords, and a fake sign-in email is one way passwords are stolen. You can see how your staff respond with Phishy phishing simulation software, and start with the free trial.

Another service that is often exposed by mistake is covered in the port 8009 (AJP and Ghostcat) entry. Kibana reads from Elasticsearch, so also read the port 9200 elasticsearch entry.

Illustration: worked example

A 30-person software company runs Kibana on a cloud server for its logs. A developer sets the host to 0.0.0.0 to show a colleague, and the security group allows “any”. Customer email addresses sit in the logs. The company finds out when a customer asks why their address is in a public index. Cost: an investigation, a breach assessment and awkward client calls. Fix: close the rule, enable security, rotate any secrets seen in the logs.

Search enginelists openport 5601→Kibana loginmissing or weak→Dashboardsand Elasticsearchdata readable→Fix: privatenetwork, TLS,SSO or VPN

FAQ

What is the default port for Kibana? 5601, according to Elastic’s configuration reference.

Does Kibana listen on the internet by default? No. Its default host is localhost, so exposure usually comes from a changed setting or open firewall rule.

Is turning on a password enough? Not for production. Elastic says minimal security is not sufficient and traffic stays unencrypted until TLS is configured.

Related terms

port 9200 elasticsearch, port 443 https, port 80 http, how to check which ports are open on your network, indicators of compromise, least privilege

More in the Ports and protocols hub.

Sources opened for this entry

How Wolfcore helps

A Wolfcore penetration test finds this the way an attacker would, by hand, not with a scanner. Start with the free web vulnerability scan at free web vulnerability scan or see penetration testing.

Wolfcore

Would your staff click a phishing email?

Run a real, safe phishing test on your team with Phishy. Free for 14 days, up to 10 staff, no card. We help you set it up.

Start a free phishing testFree website security scanor book a 30 minute call