Advisory: Apache Flink Remote Code Execution Vulnerability

Advisory: Apache Flink Remote Code Execution Vulnerability

December 2, 2019 | Mina Hao

Overview

Recently, a security researcher announced a remote code execution vulnerability in Apache Flink Dashboard. The vulnerability does not require an attacker to authenticate, and a malicious Jar package can be uploaded via the dashboard to execute the code remotely. NSFOCUS researchers also made a successful re-enactment through research, confirming that they can attack the latest version of Flink.

References:

https://s.tencent.com/research/bsafe/841.html

Affected Products and Versions

The specific versions affected are unknown yet. The following version is affected after testing:

  • Apache Flink 1.9.1 (latest version)

Solution

The Apache Flink l has not released a patch to fix the vulnerability. Please keep close attention to the release at:

https://flink.apache.org/downloads.html

At the same time, users can take the following security practices for protection:

  1. Do not expose the Flink cluster being used onto the public network;
  2. Configure Flink whitelist for access control;.
  3. It is forbidden to access traffic of the public network for port 8081 (FLink default port); Disable 8081 port (default port for Flink) access from the public network
  4. Add security authentication policies;

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.