module

Apache Spark Unauthenticated Command Execution

Disclosed
Dec 12, 2017
Created
Mar 19, 2019

Description

This module exploits an unauthenticated command execution vulnerability in Apache Spark with standalone cluster mode through REST API.
It uses the function CreateSubmissionRequest to submit a malious java class and trigger it.

Authors

Fengwei Zhang
Imran Rashid
aRe00t
Green-m [email protected]

Platform

Java

Architectures

java

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use exploit/linux/http/spark_unauth_rce
msf exploit(spark_unauth_rce) > show targets
...targets...
msf exploit(spark_unauth_rce) > set TARGET < target-id >
msf exploit(spark_unauth_rce) > show options
...show and set options...
msf exploit(spark_unauth_rce) > exploit

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.