module

VMware vCenter vScalation Priv Esc

Disclosed
2021-09-21
Created
2022-12-05

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

Authors

h00die
Yuval Lazar

Platform

Linux

Architectures

x86, x64

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_esc
msf exploit(vcenter_java_wrapper_vmon_priv_esc) > show targets
...targets...
msf exploit(vcenter_java_wrapper_vmon_priv_esc) > set TARGET < target-id >
msf exploit(vcenter_java_wrapper_vmon_priv_esc) > show options
...show and set options...
msf exploit(vcenter_java_wrapper_vmon_priv_esc) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.