Skip to content

Apache Kylin vulnerable to remote code execution

Critical severity GitHub Reviewed Published Jul 6, 2023 to the GitHub Advisory Database • Updated Aug 8, 2023

Package

maven org.apache.kylin:kylin-core-common (Maven)

Affected versions

< 4.0.2

Patched versions

4.0.2
maven org.apache.kylin:kylin-server-base (Maven)
< 4.0.2
4.0.2
maven org.apache.kylin:kylin-spark-project (Maven)
< 4.0.2
4.0.2

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.

References

Published by the National Vulnerability Database Oct 13, 2022
Published to the GitHub Advisory Database Jul 6, 2023
Reviewed Jul 6, 2023
Last updated Aug 8, 2023

Severity

Critical
9.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2022-24697

GHSA ID

GHSA-ppxx-m926-g569

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.