Command Injection in Apache Kylin RESTful APIs
CVE-2020-1956 is a command injection vulnerability in Apache Kylin. In Apache Kylin 2.3.0, all releases up to 2.6.5 in the 2.x branch, and 3.0.1 in the 3.0.x branch, certain RESTful APIs construct operating system command strings by concatenating user-supplied input without adequate validation or sanitization. This unsafe command construction can allow an attacker to inject arbitrary shell metacharacters or additional commands into the OS command context, resulting in execution of attacker-controlled commands on the underlying host.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can allow arbitrary operating system command execution in the security context of the Apache Kylin process. This can lead to full compromise of the application host, including unauthorized access to data processed by Kylin, modification or destruction of system and application data, installation of malware or persistence mechanisms, use of the host for lateral movement, and service disruption.
If you can’t patch tonight, do this now.
If immediate patching is not possible, restrict access to Apache Kylin RESTful APIs to trusted administrative networks and authenticated users only, place the service behind network access controls, and reduce the privileges of the Kylin service account to limit post-exploitation impact. Additional compensating controls include monitoring for anomalous command execution from the Kylin host and isolating the service from sensitive internal systems until remediation is completed.
Patch, then assume compromise.
Upgrade Apache Kylin to a fixed release. For the 2.x branch, upgrade to 2.6.6 or later. For the 3.0.x branch, upgrade to 3.0.2 or later. Ensure all vulnerable deployments, including older 2.3.0 installations and intermediate affected releases up to 2.6.5 and 3.0.1, are updated to a non-vulnerable version.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.