module

WAN Emulator v2.3 Command Execution

Disclosed
2012-08-12
Created
2018-05-30

Description

This module exploits a command execution vulnerability in WAN Emulator
version 2.3 which can be abused to allow unauthenticated users to execute
arbitrary commands under the context of the 'www-data' user.
The 'result.php' script calls shell_exec() with user controlled data
from the 'pc' parameter. This module also exploits a command execution
vulnerability to gain root privileges. The 'dosu' binary is suid 'root'
and vulnerable to command execution in argument one.

Author

bcoles bcoles@gmail.com

Platform

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