This module bypasses LDAP authentication in VMware vCenter Server's vmdir service to add an arbitrary administrator user. Version 6.7 prior to the 6.7U3f update is vulnerable, only if upgraded from a previous release line, such as 6.0 or 6.5. Note that it is also possible to provide a bind username and password to authenticate if the target is not vulnerable. It will add an arbitrary administrator user the same way.
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use auxiliary/admin/ldap/vmware_vcenter_vmdir_auth_bypass
msf auxiliary(vmware_vcenter_vmdir_auth_bypass) > show actions
...actions...
msf auxiliary(vmware_vcenter_vmdir_auth_bypass) > set ACTION < action-name >
msf auxiliary(vmware_vcenter_vmdir_auth_bypass) > show options
...show and set options...
msf auxiliary(vmware_vcenter_vmdir_auth_bypass) > run
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