Rapid7

module

Kubernetes authenticated code execution

Disclosed
Oct 1, 2021
Created
Oct 28, 2021

Description

Execute a payload within a Kubernetes pod.

Authors

alanfoster
Spencer McIntyre

Platform

Linux,Python,Unix

Architectures

cmd, x86, x64, python

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/multi/kubernetes/exec
msf exploit(exec) > show targets
...targets...
msf exploit(exec) > set TARGET < target-id >
msf exploit(exec) > show options
...show and set options...
msf exploit(exec) > 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.