Cambium cnPilot r200/r201 device software versions 4.2.3-R4 to 4.3.3-R4, contain an undocumented, backdoor 'root' shell. This shell is accessible via a specific url, to any authenticated user. The module uses this shell to execute arbitrary system commands as 'root'.
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use auxiliary/admin/http/cnpilot_r_cmd_exec
msf auxiliary(cnpilot_r_cmd_exec) > show actions
...actions...
msf auxiliary(cnpilot_r_cmd_exec) > set ACTION < action-name >
msf auxiliary(cnpilot_r_cmd_exec) > show options
...show and set options...
msf auxiliary(cnpilot_r_cmd_exec) > run
Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.
– Jim O’Gorman | President, Offensive Security