Apache Kylin spark-cmd Blacklist Bypass CVE-2022-43396
CVE-2022-43396 Published on December 30, 2022

Apache Kylin: Command injection by Useless configuration
In the fix for CVE-2022-24697, a blacklist is used to filter user input commands. But there is a risk of being bypassed. The user can control the command by controlling the kylin.engine.spark-cmd parameter of conf.

Vendor Advisory NVD

Vulnerability Analysis

CVE-2022-43396 is exploitable with network access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
LOW
User Interaction:
NONE
Scope:
UNCHANGED
Confidentiality Impact:
HIGH
Integrity Impact:
HIGH
Availability Impact:
HIGH

Weakness Type

What is a Denylist / Deny List Vulnerability?

The product implements a protection mechanism that relies on a list of inputs (or properties of inputs) that are not allowed by policy or otherwise require other action to neutralize before additional processing takes place, but the list is incomplete, leading to resultant weaknesses. Developers often try to protect their products against malicious input by performing tests against inputs that are known to be bad, such as special characters that can invoke new commands. However, such lists often only account for the most well-known bad inputs. Attackers may be able to find other malicious inputs that were not expected by the developer, allowing them to bypass the intended protection mechanism.

CVE-2022-43396 has been classified to as a Denylist / Deny List vulnerability or weakness.


Products Associated with CVE-2022-43396

You can be notified by email with stack.watch whenever vulnerabilities like CVE-2022-43396 are published in Apache Kylin:

 

Affected Versions

Apache Software Foundation Apache Kylin:

Exploit Probability

EPSS
0.39%
Percentile
59.38%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.