title: Apache Kylin prior to 4.0.2 allows command injection when the configuration overwrites function overwrites system parameters
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.
problem types: Command injection
affected:
{
vendor: Apache Software Foundation
product: Apache Kylin
versions:
version: Apache Kylin 2, status: affected, lessThan: 2.6.6, versionType: custom
version: Apache Kylin 3, status: affected, lessThanOrEqual: 3.1.2, versionType: custom
version: Apache Kylin 4, status: affected, lessThanOrEqual: 4.0.1, versionType: custom
}
metrics:
other: [
type: unknown
content: {'other': 'important'}
]
workarounds: Users of Kylin 2.x & Kylin 3.x & 4.x should upgrade to 4.0.2 or apply patch https://github.com/apache/kylin/pull/1811 .