Rapid7’s 2026 Global Cybersecurity Summit is now available on-demand.Watch sessions.
Rapid7

module

CWP login.php Unauthenticated RCE

Disclosed
Jan 5, 2023
Created
Jan 31, 2023

Description

Control Web Panel versions unauthenticated OS command injection. Successful exploitation results
in code execution as the root user. The results of the command are not
contained within the HTTP response and the request will block while
the command is running.

Authors

Spencer McIntyre
Numan Türle

Platform

Linux,Unix

Architectures

cmd, 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/http/control_web_panel_login_cmd_exec
msf exploit(control_web_panel_login_cmd_exec) > show targets
...targets...
msf exploit(control_web_panel_login_cmd_exec) > set TARGET < target-id >
msf exploit(control_web_panel_login_cmd_exec) > show options
...show and set options...
msf exploit(control_web_panel_login_cmd_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.