This module exploits an arbitrary command execution vulnerability in Webmin 1.580. The vulnerability exists in the /file/show.cgi component and allows an authenticated user, with access to the File Manager Module, to execute arbitrary commands with root privileges. The module has been tested successfully with Webmin 1.580 over Ubuntu 10.04.
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/unix/webapp/webmin/show_cgi_execmsf undefined(show_cgi_exec) > show actions ...actions...msf undefined(show_cgi_exec) > set ACTION < action-name >msf undefined(show_cgi_exec) > show options ...show and set options...msf undefined(show_cgi_exec) > runWith curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub