Sigma rule: Apache Spark Shell Command Injection - Weblogs
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-773360d59220, updated 2023-01-02T00:00:00.000Z.
Rule
- Title
- Apache Spark Shell Command Injection - Weblogs
- Status
- test
- Level
- high
- Author
- Nasreddine Bencherchali (Nextron Systems)
- Date
- 2022-07-19
- Modified
- 2023-01-02
- File
- rules-emerging-threats/2022/Exploits/CVE-2022-33891/web_cve_2022_33891_spark_shell_command_injection.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects attempts to exploit an apache spark server via CVE-2014-6287 from a weblogs perspective
Log source
- category
- webserver
Detection
selection:
cs-uri-query|contains: '?doAs=`'
condition: selectionFalse positives (as the rule lists them)
- Web vulnerability scanners
Tags
- attack.initial-access
- attack.t1190
- cve.2022-33891
- detection.emerging-threats
CVEs this rule names
MITRE ATT&CK ids this rule names
References
- https://github.com/W01fh4cker/cve-2022-33891/blob/fd973b56e78bca8822caa3a2e3cf1b5aff5d0950/cve_2022_33891_poc.py
- https://sumsec.me/2022/CVE-2022-33891%20Apache%20Spark%20shell%20command%20injection.html
- https://github.com/apache/spark/pull/36315/files
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-emerging-threats/2022/Exploits/CVE-2022-33891/web_cve_2022_33891_spark_shell_command_injection.yml
Sources and licences
SigmaHQ
"Apache Spark Shell Command Injection - Weblogs" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-emerging-threats/2022/Exploits/CVE-2022-33891/web_cve_2022_33891_spark_shell_command_injection.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Apache Spark Shell Command Injection - Weblogs",
entity page, dataset version ref-773360d59220, updated 2023-01-02T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/1a9a04fd-02d1-465c-abad-d733fd409f9c (accessed 2026-11-03).
Underlying source: SigmaHQ rule 1a9a04fd-02d1-465c-abad-d733fd409f9c, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.