Description
This module exploits a Python code injection in the Netsweeper WebAdmin component's unixlogin.php script, for versions 6.4.4 and prior, to execute code as the root user.
Authentication is bypassed by sending a random whitelisted Referer header in each request.
Tested on the CentOS Linux-based Netsweeper 6.4.3 and 6.4.4 ISOs. Though the advisory lists 6.4.3 and prior as vulnerable, 6.4.4 has been confirmed exploitable.
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/netsweeper_webadmin_unixloginmsf undefined(netsweeper_webadmin_unixlogin) > show actions ...actions...msf undefined(netsweeper_webadmin_unixlogin) > set ACTION < action-name >msf undefined(netsweeper_webadmin_unixlogin) > show options ...show and set options...msf undefined(netsweeper_webadmin_unixlogin) > 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