Rapid7’s 2026 Global Cybersecurity Summit is now available on-demand.Watch sessions.
Rapid7

module

VMware vCenter vScalation Priv Esc

Disclosed
Sep 21, 2021
Created
Dec 5, 2022

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
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.