QID 150557
Date Published: 2022-08-08
QID 150557: Apache Spark Shell Command Injection Vulnerability (CVE-2022-33891)
Apache Spark is a multi-language engine for executing data engineering, data science, and machine learning on single-node machines or clusters.
The Apache Spark UI offers the possibility to enable ACLs via the configuration option spark.acls.enable. With an authentication filter, this checks whether a user has access permissions to view or modify the application. If ACLs are enabled, a code path in HttpSecurityFilter can allow someone to perform impersonation by providing an arbitrary user name. This will result in arbitrary shell command execution as the user Spark is currently running as.
Affected Versions:
Apache Spark versions 3.0.3 and earlier
Apache Spark versions 3.1.1 to 3.1.2
Apache Spark versions 3.2.0 to 3.2.1.
QID Detection Logic (Unauthenticated) :
The QID sends a HTTP GET request with specially crafted payload, where vulnerable servers will make a DNS query that will trigger Qualys periscope detection mechanism.
Successful exploitation of this vulnerability could allow a remote attacker to execute arbitrary code on the target system.
- Apache Spark -
lists.apache.org/thread/p847l3kopoo5bjtmxrcwk21xp6tjxqlc
CVEs related to QID 150557
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| Apache Spark |
|