Description
This module attempts to gain root privileges on systems running MagniComp SysInfo versions prior to 10-H64.
The .mcsiwrapper suid executable allows loading a config file using the '--configfile' argument. The 'ExecPath' config directive is used to set the executable load path. This module abuses this functionality to set the load path resulting in execution of arbitrary code as root.
This module has been tested successfully with SysInfo version 10-H63 on Fedora 20 x86_64, 10-H32 on Fedora 27 x86_64, 10-H10 on Debian 8 x86_64, and 10-GA on Solaris 10u11 x86.
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/multi/local/magnicomp/sysinfo_mcsiwrapper_priv_escmsf undefined(sysinfo_mcsiwrapper_priv_esc) > show actions ...actions...msf undefined(sysinfo_mcsiwrapper_priv_esc) > set ACTION < action-name >msf undefined(sysinfo_mcsiwrapper_priv_esc) > show options ...show and set options...msf undefined(sysinfo_mcsiwrapper_priv_esc) > 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