This module exploits Java unsafe reflection and SSRF in the VMware vCenter Server Virtual SAN Health Check plugin's ProxygenController class to execute code as the vsphere-ui user. See the vendor advisory for affected and patched versions. Tested against VMware vCenter Server 6.7 Update 3m (Linux appliance).
Linux,Unix
cmd, x86, x64
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/vmware_vcenter_vsan_health_rce
msf exploit(vmware_vcenter_vsan_health_rce) > show targets
...targets...
msf exploit(vmware_vcenter_vsan_health_rce) > set TARGET < target-id >
msf exploit(vmware_vcenter_vsan_health_rce) > show options
...show and set options...
msf exploit(vmware_vcenter_vsan_health_rce) > exploit
Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.
– Jim O’Gorman | President, Offensive Security