Description
This module exploits a privilege escalation in vSphere/vCenter due to improper permissions on the /usr/lib/vmware-vmon/java-wrapper-vmon file. It is possible for anyone in the cis group to write to the file, which will execute as root on vmware-vmon service restart or host reboot.
This module was successfully tested against VMware VirtualCenter 6.5.0 build-7070488. The following versions should be vulnerable: vCenter 7.0 before U2c vCenter 6.7 before U3o vCenter 6.5 before U3q
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/local/vcenter/java_wrapper_vmon_priv_escmsf undefined(java_wrapper_vmon_priv_esc) > show actions ...actions...msf undefined(java_wrapper_vmon_priv_esc) > set ACTION < action-name >msf undefined(java_wrapper_vmon_priv_esc) > show options ...show and set options...msf undefined(java_wrapper_vmon_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