Kibana Remote Code Execution Vulnerability (CVE-2019-7609) Threat Alert

Kibana Remote Code Execution Vulnerability (CVE-2019-7609) Threat Alert

November 5, 2019 | Adeline Zhang

Vulnerability Description

In February 2019, an official announcement was made that Kibana had a remote code execution vulnerability. The Kibana version prior to 5.6.15 and 6.6.1 had a functional flaw in the Timelion visualization tool, which allowed an attacker to use Kibana to execute arbitrary code on the server. Currently PoC has been announced; Ussers are recommended to conduct self-examination and protection in a timely manner.

Kibana is Elasticsearch’s open-source visualization plugin. It provides visualization capability for Elasticsearch by searching and viewing data stored in the Elasticsearch index in forms of  icons, tables and maps. Due to ease of use,  it is widely used in product development. Users who are using Kibana should  pay attention to this vulnerability.

References:

https://www.elastic.co/cn/community/security

https://discuss.elastic.co/t/elastic-stack-6-6-1-and-5-6-15-security-update/169077

Scope of Impact

Affected Versions

  • Kibana < 5.6.15
  • Kibana < 6.6.1

Unaffected Version

  • Kibana = 5.6.15
  • Kibana >= 6.6.1

Vulnerability Detection

  • Manual Detection

The vulnerability would be triggered  by the following two conditions:

  1. It’s one of affected versions of Kibana.
  2. The Timelion function is enabled.

Version troubleshooting method:

Open Settings in Kibana and click About to view the version information.

Timelion troubleshooting method:

Check if timelion.enabled in the kibana.yml configuration file is set to be on.

Vulnerability Protection

  • Official Upgrade

The official version has been released to fix the vulnerability. Please update the Kibana version for protection. The official download link is:

https://www.elastic.co/cn/downloads/kibana

  • Temporary Mitigation Measures

For users who cannot upgrade to unaffected version right now, to disable Timelion in kibana,yml file by setting timelion.enabled to “false” will be a workaround for protection.

  • Statement

This advisory is only used to describe a potential risk. NSFOCUS does not provide any commitment or promise on this advisory. NSFOCUS and the author will not bear any liability for any direct and/or indirect consequences and losses caused by transmitting and/or using this advisory. NSFOCUS reserves all the rights to modify and interpret this advisory. Please include this statement paragraph when reproducing or transferring this advisory. Do not modify this advisory, add/delete any information to/from it, or use this advisory for commercial purposes without permission from NSFOCUS.

  • About NSFOCUS

NSFOCUS, Inc., a global network and cyber security leader, protects enterprises and carriers from advanced cyber attacks. The company’s Intelligent Hybrid Security strategy utilizes both cloud and on-premises security platforms, built on a foundation of real-time global threat intelligence, to provide multi-layered, unified and dynamic protection against advanced cyber attacks.

NSFOCUS works with Fortune Global 500 companies, including four of the world’s five largest financial institutions, organizations in insurance, retail, healthcare, critical infrastructure industries as well as government agencies. NSFOCUS has technology and channel partners in more than 60 countries, is a member of both the Microsoft Active Protections Program (MAPP), and the Cloud Security Alliance (CSA).

A wholly owned subsidiary of NSFOCUS Information Technology Co. Ltd., the company has operations in the Americas, Europe, the Middle East and Asia Pacific.