Apache Kylin Remote Code Execution Vulnerability (CVE-2020-1956) Threat Alert

Apache Kylin Remote Code Execution Vulnerability (CVE-2020-1956) Threat Alert

junho 9, 2020 | Adeline Zhang

Vulnerability Description

Recently, Apache released a security advisory to announce the fix of a remote code execution vulnerability (CVE-2020-1956) in Apache Kylin. Apache Kylin has some RESTful APIs that will associate OS commands with user-typed strings. As Apache Kylin fails to properly verify user inputs, an attacker could execute arbitrary system commands without authorization. Currently, the PoC of this vulnerability has been made publicly available. Users of this software are advised to take protective measures as soon as possible.

Apache Kylin is an open-source distributed Analytical Data Warehouse from Apache Software Foundation (ASF). It is designed to provide SQL interface and multi-dimensional analysis (OLAP) on Hadoop/Spark to support extremely large datasets.

Reference link:

https://www.mail-archive.com/dev@kylin.apache.org/msg11687.html

Scope of Impact

Affected Versions

  • Kylin 2.3.0 – 2.3.2
  • Kylin 2.4.0 – 2.4.1
  • Kylin 2.5.0 – 2.5.2
  • Kylin 2.6.0 – 2.6.5
  • Kylin 3.0.0-alpha
  • Kylin 3.0.0-alpha2
  • Kylin 3.0.0-beta
  • Kylin 3.0.0 – 3.0.1

Unaffected Versions

  • Kylin = 2.6.6
  • Kylin = 3.0.2

Mitigation

  • Official Fix

Currently, this vulnerability has been fixed in two latest versions, V2.6.6 and V3.0.2. Affected users are advised to upgrade Apache Kylin as soon as possible to protect against this vulnerability by downloading updates from the following link:

http://kylin.apache.org/cn/download/
  • Other Protection Measures

If users cannot upgrade Apache Kylin for the time being, they can apply the following workaround:

Set “kylin.tool.auto-migrate-cube.enabled” to “false” to disable command execution.

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 Technologies Group Co., Ltd., the company has operations in the Americas, Europe, the Middle East and Asia Pacific.