CVE-2022-33891
Apache Spark Command Injection Vulnerability - [Actively Exploited]
Description
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. A malicious user might then be able to reach a permission check function that will ultimately build a Unix shell command based on their input, and execute it. This will result in arbitrary shell command execution as the user Spark is currently running as. This affects Apache Spark versions 3.0.3 and earlier, versions 3.1.1 to 3.1.2, and versions 3.2.0 to 3.2.1.
INFO
Published Date :
July 18, 2022, 7:15 a.m.
Last Modified :
Aug. 2, 2023, 5:21 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
2.8
CISA KEV (Known Exploited Vulnerabilities)
For the benefit of the cybersecurity community and network defenders—and to help every organization better manage vulnerabilities and keep pace with threat activity—CISA maintains the authoritative source of vulnerabilities that have been exploited in the wild.
Apache Spark contains a command injection vulnerability via Spark User Interface (UI) when Access Control Lists (ACLs) are enabled.
Apply updates per vendor instructions.
https://lists.apache.org/thread/p847l3kopoo5bjtmxrcwk21xp6tjxqlc
Public PoC/Exploit Available at Github
CVE-2022-33891 has a 40 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-33891
.
URL | Resource |
---|---|
http://packetstormsecurity.com/files/168309/Apache-Spark-Unauthenticated-Command-Injection.html | Exploit Third Party Advisory VDB Entry |
http://www.openwall.com/lists/oss-security/2023/05/02/1 | Mailing List Third Party Advisory |
https://lists.apache.org/thread/p847l3kopoo5bjtmxrcwk21xp6tjxqlc | Mailing List Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
这是一个每天同步Vulnerability-Wiki中docs-base中内容的项目
HTML
None
All CVE - PoC in GitHub
poc proofofconcept tester allcve cvegithub cvenew cvepoc cveupdate
None
A PoC exploit for CVE-2022-33891 - Apache Spark UI Remote Code Execution (RCE)
command-injection cve-2022-33891 cve-2022-33891-poc exploit hacking poc remote-code-execution
Python
渗透测试有关的POC、EXP、脚本、提权、小工具等---About penetration-testing python-script poc getshell csrf xss cms php-getshell domainmod-xss csrf-webshell cobub-razor cve rce sql sql-poc poc-exp bypass oa-getshell cve-cms
Assembly Python Shell PHP C++ C Go Ruby HTML Java
None
CSS HTML JavaScript
None
Shell Batchfile R Makefile C Java Scala JavaScript HTML CSS
None
A Common Vulnerability PoC Knowledge Base一个普遍漏洞POC知识库
vulnerability
一键getshell集成化工具
None
None
None
Python
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-33891
vulnerability anywhere in the article.
- The Cloudflare Blog
Application Security report: 2024 update
2024-07-1111 min readThis post is also available in 简体中文, 繁體中文, 日本語, 한국어, Deutsch, Español and Français. Over the last twelve months, the Internet security landscape has changed dramatically. Geopolit ... Read more
The following table lists the changes that have been made to the
CVE-2022-33891
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Modified Analysis by [email protected]
Aug. 02, 2023
Action Type Old Value New Value Changed Reference Type http://www.openwall.com/lists/oss-security/2023/05/02/1 Mailing List http://www.openwall.com/lists/oss-security/2023/05/02/1 Mailing List, Third Party Advisory -
CVE Modified by [email protected]
Jul. 25, 2023
Action Type Old Value New Value Removed CWE Apache Software Foundation CWE-77 Added CWE Apache Software Foundation CWE-78 Removed CWE Reason CWE-77 / More specific CWE option available -
Modified Analysis by [email protected]
Jul. 21, 2023
Action Type Old Value New Value Changed Reference Type http://www.openwall.com/lists/oss-security/2023/05/02/1 No Types Assigned http://www.openwall.com/lists/oss-security/2023/05/02/1 Mailing List Removed CWE NIST CWE-77 Added CWE NIST CWE-78 -
CVE Modified by [email protected]
May. 02, 2023
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2023/05/02/1 [No Types Assigned] -
Modified Analysis by [email protected]
Oct. 27, 2022
Action Type Old Value New Value Changed Reference Type http://packetstormsecurity.com/files/168309/Apache-Spark-Unauthenticated-Command-Injection.html No Types Assigned http://packetstormsecurity.com/files/168309/Apache-Spark-Unauthenticated-Command-Injection.html Exploit, Third Party Advisory, VDB Entry -
CVE Modified by [email protected]
Sep. 08, 2022
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/168309/Apache-Spark-Unauthenticated-Command-Injection.html [No Types Assigned] -
Initial Analysis by [email protected]
Jul. 25, 2022
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://lists.apache.org/thread/p847l3kopoo5bjtmxrcwk21xp6tjxqlc No Types Assigned https://lists.apache.org/thread/p847l3kopoo5bjtmxrcwk21xp6tjxqlc Mailing List, Third Party Advisory Added CWE NIST CWE-77 Added CPE Configuration OR *cpe:2.3:a:apache:spark:*:*:*:*:*:*:*:* versions up to (including) 3.0.3 *cpe:2.3:a:apache:spark:*:*:*:*:*:*:*:* versions from (including) 3.1.1 up to (including) 3.1.2 *cpe:2.3:a:apache:spark:*:*:*:*:*:*:*:* versions from (including) 3.2.0 up to (including) 3.2.1
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-33891
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-33891
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
97.26 }} -0.05%
score
0.99886
percentile