Description
This module exploits an arbitrary command injection in Webmin versions prior to 1.997.
Webmin uses the OS package manager (`apt`, `yum`, etc.) to perform package updates and installation. Due to a lack of input sanitization, it is possibe to inject arbitrary command that will be concatenated to the package manager call.
This exploit requires authentication and the account must have access to the Software Package Updates module.
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/webmin/package_updates_rcemsf undefined(package_updates_rce) > show actions ...actions...msf undefined(package_updates_rce) > set ACTION < action-name >msf undefined(package_updates_rce) > show options ...show and set options...msf undefined(package_updates_rce) > runPrioritise with Active Threat Intelligence
With 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