Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2024-37081: VMware vCenter Server Appliance sudo Misconfiguration Local Privilege Escalation

Published Jun 18, 2024 · Updated 19 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.8High · v3.1
EPSS5.0%92nd percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendor
VMware
IdentifiersCVE-2024-37081CWE-269

CVE-2024-37081 is a local privilege-escalation vulnerability in VMware vCenter Server Appliance caused by sudo misconfiguration. A locally authenticated, non-administrative user can abuse the affected sudo policy configuration to elevate privileges to root on the appliance. The issue affects VMware vCenter Server 7.0 and 8.0 releases addressed by VMware Security Advisory VMSA-2024-0012.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation grants a low-privileged local authenticated user root-level control of the vCenter Server Appliance. Root access enables compromise of the appliance and its vCenter management-plane functions, including modification of system configuration, deployment of tooling, access to data available to the appliance, and potential follow-on actions against managed virtual infrastructure.

Mitigation

If you can’t patch tonight, do this now.

No official product workaround was identified. Until updates can be installed, restrict local shell and console access to the vCenter Server Appliance, enforce least privilege for appliance accounts, limit administrative access to dedicated accounts, and monitor sudo use and unexpected privilege transitions. Compensating network controls may reduce access to the appliance but do not eliminate the local escalation condition.

Remediation

Patch, then assume compromise.

Update VMware vCenter Server to a fixed release appropriate to the deployed branch: 7.0 U3r, 8.0 U1e, or 8.0 U2d, or a later cumulative release. Deploy the corresponding VMware Cloud Foundation remediation identified in KB88287 where vCenter Server is supplied through VMware Cloud Foundation.

Public exploits

Exploits

2 exploits validated by Mallory's analysis.

View more in app →
vcenter_sudo_lpe.rbThis repository contains a single Metasploit module (modules/exploits/linux/local/vcenter_sudo_lpe.rb) that exploits CVE-2024-37081, a local privilege escalation vulnerability in VMware vCenter Server Appliance (VCSA) versions prior to 7.0.3 update R and 8.0.2 update D. The exploit leverages misconfigurations in sudo and environment variables to execute arbitrary code as root by abusing specific scripts and binaries on the appliance. The module checks the vCenter build version and user group membership to determine exploitability, then uses one of three methods (PYTHONPATH, VMWARE_PYTHON_PATH, or VMWARE_PYTHON_BIN) to hijack execution flow and run a custom payload as root. The payload is a binary generated by Metasploit, uploaded to a writable directory (default: /tmp), and executed via the targeted script. The exploit is operational and provides root access if successful. The repository is structured as a standard Metasploit module and is intended for use within the Metasploit Framework.Disclosed Jun 18, 2024 · Framework: metasploit · ruby · localWeaponizedCVE-2024-37081This repository provides a proof-of-concept (PoC) exploit for CVE-2024-37081, a local privilege escalation vulnerability in VMware vCenter due to improper configuration of the /etc/sudoers file. The repository contains two files: a README.md with detailed vulnerability and usage information, and poc.py, a Python script that demonstrates the exploit. The script creates a malicious Python module in /tmp/malicious/__init__.py, sets environment variables (PYTHONPATH, VMWARE_PYTHON_PATH, VMWARE_PYTHON_BIN) to point to malicious code or scripts, and uses sudo to execute commands as privileged users (operator, pod, admin, vpxd). It attempts to execute arbitrary code as root (demonstrated by writing the output of 'id' to /tmp/pwned) and to read sensitive files like /etc/shadow. The exploit is a local privilege escalation PoC and requires sudo access and a vulnerable sudoers configuration. No network endpoints are involved; all actions are performed locally on the target system.Mr-r00t11 · Disclosed Jul 9, 2024 · python · localPoC
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
VMwareVmware Cloud Foundationapplication
VMwareVmware Vcenter Serverapplication
FAQ

Frequently asked questions

Is CVE-2024-37081 exploited in the wild?
As of Nov 4, 2026, Mallory has no reports of CVE-2024-37081 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2024-37081?
Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2024-37081, the earliest disclosed Jun 18, 2024.
Is there a patch for CVE-2024-37081?
Update VMware vCenter Server to a fixed release appropriate to the deployed branch: 7.0 U3r, 8.0 U1e, or 8.0 U2d, or a later cumulative release. Deploy the corresponding VMware Cloud Foundation remediation identified in KB88287 where vCenter Server is supplied through VMware Cloud Foundation.
What products are affected by CVE-2024-37081?
Vmware Vcenter Server and Vmware Cloud Foundation.
How severe is CVE-2024-37081?
CVE-2024-37081 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 5.0% (92nd percentile) as of Nov 4, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity4Community discussion across Reddit, Mastodon, and other social sources.