Hack The Sec - Leading Resource Of Linux Tutorial
[HIGH PRIORITY] VMware ESXi Active Directory Authentication Bypass (CVE-2024-37085)

[HIGH PRIORITY] VMware ESXi Active Directory Authentication Bypass (CVE-2024-37085)

VMware ESXi AD auth bypass patch CVE-2024-37085

⚠ HIGH PRIORITY — CISA KEV. CVE-2024-37085 lets attackers with AD access bypass ESXi authentication when AD integration is enabled. Ransomware groups (including ESXiArgs variants) abused this to encrypt entire virtualization clusters.

Affected ESXi

  • ESXi 8.0 before ESXi 8.0 U3b
  • ESXi 7.0 before ESXi 7.0 U3s
  • Hosts joined to Active Directory for admin login

Verify AD integration

ssh root@esxi-host
esxcli system version get
vim-cmd hostsvc/ad/authentication store | grep -i enabled

Patching Method

  1. Snapshot VM inventory; schedule cluster rolling maintenance.
  2. Download ESXi 8.0 U3b or 7.0 U3s image from Broadcom/VMware portal.
  3. Put host in maintenance mode: esxcli system maintenanceMode set --enable true
  4. Apply update via vSphere Lifecycle Manager or esxcli software profile update.
  5. Reboot host; exit maintenance mode; validate AD login still works with test account.
  6. Rotate ESXi root passwords and review /etc/passwd for rogue accounts.
esxcli system version get | grep -E 'Version|Build'
esxcli network firewall get
grep -i lockdown /etc/vmware/esx.conf

Workaround until patched

  • Disable AD authentication temporarily; use local root with strong password
  • Enable ESXi lockdown mode and restrict management to vCenter
  • Block ESXi management port 443 from all except admin jump host
H

About the author

I am a Linux Administrator and Security Expert. Through this site I share Linux tutorials, hardening guides and security news.

Comments