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
NEW

Explore Exposure Command

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