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
Exploit database
Vulnerability
CVE-2021-22015
Vulnerability details
- Score
- 7.8
- Severity
- high
CVSS 3.1 · NVD
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HDescription
The vCenter Server contains multiple local privilege escalation vulnerabilities due to improper permissions of files and directories. An authenticated local user with non-administrative privilege may exploit these issues to elevate their privileges to root on vCenter Server Appliance.
CVE ProgramShowing saved CVE details. Refresh is temporarily unavailable.
Exploit source choices
2 sourcesVMware vCenter vScalation Priv Esc
2021-09-21vcenter_java_wrapper_vmon_priv_esc.rb
penteraio/vscalation-cve-2021-22015
Scanner for vScalation (CVE-2021-22015) a Local Privilege Escalation in VMWare vCenter
2021-09-302 files · 6 stars