Description
This module exploits an unauthenticated OVA file upload and path traversal in VMware vCenter Server to write a JSP payload to a web-accessible directory.
Fixed versions are 6.5 Update 3n, 6.7 Update 3l, and 7.0 Update 1c. Note that later vulnerable versions of the Linux appliance aren't exploitable via the webshell technique. Furthermore, writing an SSH public key to /home/vsphere-ui/.ssh/authorized_keys works, but the user's non-existent password expires 90 days after install, rendering the technique nearly useless against production environments.
You'll have the best luck targeting older versions of the Linux appliance. The Windows target should work ubiquitously.
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/http/vmware/vcenter_uploadova_rcemsf undefined(vcenter_uploadova_rce) > show actions ...actions...msf undefined(vcenter_uploadova_rce) > set ACTION < action-name >msf undefined(vcenter_uploadova_rce) > show options ...show and set options...msf undefined(vcenter_uploadova_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