VMware Workspace ONE Access contains a vulnerability whereby the horizon user can escalate their privileges to those of the root user by modifying a file and then restarting the vmware-certproxy service which invokes it. The service control is permitted via the sudo configuration without a password.
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/local/vmware_workspace_one_access_certproxy_lpe
msf exploit(vmware_workspace_one_access_certproxy_lpe) > show targets
...targets...
msf exploit(vmware_workspace_one_access_certproxy_lpe) > set TARGET < target-id >
msf exploit(vmware_workspace_one_access_certproxy_lpe) > show options
...show and set options...
msf exploit(vmware_workspace_one_access_certproxy_lpe) > 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