module

Apache RocketMQ update config RCE

Disclosed
2023-05-23
Created
2023-07-06

Description

RocketMQ versions 5.1.0 and below are vulnerable to Arbitrary Code Injection. Broker component of RocketMQ is
leaked on the extranet and lack permission verification. An attacker can exploit this vulnerability by using
the update configuration function to execute commands as the system users that RocketMQ is running as.
Additionally, an attacker can achieve the same effect by forging the RocketMQ protocol content.

Authors

Malayke
jheysel-r7
h00die

Platform

Linux,Unix

Architectures

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

Title
NEW

Explore Exposure Command

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