module
WAN Emulator v2.3 Command Execution
Disclosed | Created |
---|---|
08/12/2012 | 05/30/2018 |
Disclosed
08/12/2012
Created
05/30/2018
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.
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
Platform
Unix
Architectures
cmd
References
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 /(c) > show actions ...actions... msf /(c) > set ACTION < action-name > msf /(c) > show options ...show and set options... msf /(c) > run

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