module

Spring Cloud Gateway Remote Code Execution

Disclosed
01/26/2022
Created
10/12/2022

Description

This module exploits an unauthenticated remote code execution vulnerability in Spring Cloud Gateway
versions = 3.1.0 and 3.0.0 to 3.0.6. The vulnerability can be exploited when the Gateway Actuator
endpoint is enabled, exposed and unsecured. An unauthenticated attacker can use SpEL
expressions to execute code and take control of the victim machine.

Author

Ayan Saha

Platform

Linux

Architectures

x64, cmd

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/spring_cloud_gateway_rce
    msf /(e) > show actions
        ...actions...
    msf /(e) > set ACTION < action-name >
    msf /(e) > show options
        ...show and set options...
    msf /(e) > run
  
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.