Rapid7

module

Redis Unauthenticated Code Execution

Disclosed
Nov 13, 2018
Created
Jul 29, 2019

Description

This module can be used to leverage the extension functionality added by Redis 4.x and 5.x
to execute arbitrary code. To transmit the given extension it makes use of the feature of Redis
which called replication between master and slave.

Author

Platform

Linux

Architectures

x86, x64

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/redis/redis_unauth_exec
msf exploit(redis_unauth_exec) > show targets
...targets...
msf exploit(redis_unauth_exec) > set TARGET < target-id >
msf exploit(redis_unauth_exec) > show options
...show and set options...
msf exploit(redis_unauth_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.