Kibana Timelion Arbitrary Code Execution

Published on 16 Jun 2021
Vulnerability

Kibana is an open-source visualisation plugin for Elasticsearch.The Timelion visualizer in Kibana versions prior to 5.6.15 and 6.6.1 has the ability to execute arbitrary code. An attacker with Timelion platform access may submit a request that attempts to execute javascript code. This may result in an attacker executing unauthorised commands on the host machine with the Kibana process’s permissions.

Vulnerability detection:

  • Manually detecting
  • Timelion function is enabled in kibana.yml.
  • Version troubleshooting method: In the settings, look for the Kibana version.

Mitigation / Precaution

  • Administrators and consumers of the Elastic Stack (or ELK Stack) can update to Kibana versions 5.6.15 or higher than 6.6.1.
  • If updating is not an option at this time, Set timelion.enabled to false in the kibana.yml configuration file to disable Timelion.
Jijith Rajan
Written by
Cyber Security Engineer

His passion for staying abreast of the latest security threats and trends, coupled with his hands-on experience, allows him to actively contribute to the protection of digital assets. Jijith's dedication and enthusiasm make him a promising talent in the ever-evolving realm of cybersecurity, promising a safer digital future.

Experience the Beagle Security platform
Unlock one full penetration test and all Advanced plan features free for 14 days
4.8 on G2 • ISO 27001 certified
See How Beagle Security Works
No credit card • No setup required
Launch interactive demo