CVE-2022-24697 Apache Kylin vulnerable to remote code execution
Attackers can execute arbitrary OS commands via command injection in the cube designer when overwriting system parameters in Apache Kylin.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-24697?
CVE-2022-24697 is a critical command injection vulnerability in Apache Kylin, published on 13 Oct 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Kylin's cube designer function has a command injection vulnerability when overwriting system parameters in the configuration overwrites menu. RCE can be implemented by closing the single quotation marks around the parameter value of “-- conf=” to inject any operating system command into the command line parameters. This vulnerability affects Kylin 2 version 2.6.5 and earlier, Kylin 3 version 3.1.2 and earlier, and Kylin 4 version 4.0.1 and earlier.
Weakness: CWE-78
Which versions are affected by CVE-2022-24697?
6 open source packages ship an affected version, including org.apache.kylin:kylin-core-common, org.apache.kylin:kylin-server-base and org.apache.kylin:kylin-spark-project. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.kylin:kylin-core-common Maven | All versions | 4.0.2 |
org.apache.kylin:kylin-core-common Maven | All versions | 4.0.2 |
org.apache.kylin:kylin-server-base Maven | All versions | 4.0.2 |
org.apache.kylin:kylin-server-base Maven | All versions | 4.0.2 |
org.apache.kylin:kylin-spark-project Maven | All versions | 4.0.2 |
org.apache.kylin:kylin-spark-project Maven | All versions | 4.0.2 |
Products include Apache Kylin.
How do I fix CVE-2022-24697?
Upgrade org.apache.kylin:kylin-core-common to 4.0.2 or later.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2022-24697 being exploited?
There is no known exploitation of CVE-2022-24697 in the wild and no public exploit code.
Other vulnerabilities in Apache Kylin
Sources
Also known as GHSA-ppxx-m926-g569.