CVE/vulnerability

Critical VGAuth Flaw in VMware Tools Grants Full System Access

Security researchers have uncovered critical vulnerabilities in VMware Tools’ Guest Authentication Service (VGAuth) that allow attackers to escalate privileges from any user account to full SYSTEM access on Windows virtual machines.

The flaws, tracked as CVE-2025-22230 and CVE-2025-22247, affect VMware Tools 12.5.0 and earlier versions across ESXi-managed environments and standalone VMware Workstation deployments.

Authentication Bypass

The primary vulnerability stems from a fundamental flaw in VGAuth’s named pipe authentication mechanism.

The service creates predictable pipe names in the format \\.\pipe\vgauth-service-<username> without using the FILE_FLAG_FIRST_PIPE_INSTANCE flag, enabling attackers to pre-create these pipes with permissive access controls.

CVE IDCVSS ScoreDescriptionPatch VersionRelease Date
CVE-2025-22230HighAuthentication bypass via named pipe hijackingVMware Tools 12.5.1March 25, 2025
CVE-2025-22247CriticalPath traversal with insecure symlink resolutionVMware Tools 12.5.2May 12, 2025

By establishing a pipe named vgauth-service-system before the legitimate service, attackers can hijack authentication sessions and impersonate the NT AUTHORITY\SYSTEM account.

This grants immediate superuser privileges within the VGAuth protocol, bypassing all intended security restrictions.

The second vulnerability exploits insufficient input validation in alias store operations.

Attackers can inject path traversal sequences like ../../../../../../evil into username parameters, allowing them to break out of the intended alias store directory and target arbitrary system files.

Combined with Windows symlink manipulation techniques, this creates powerful attack primitives.

Researchers demonstrated two exploitation paths: arbitrary file deletion through the RemoveAlias operation and arbitrary file write through alias store rewriting.

Both techniques leverage time-of-check/time-of-use (TOCTOU) attacks using Opportunistic Locks to precisely time symlink target switching.

The arbitrary file deletion capability can target critical system directories like C:\Config.Msi, enabling well-known Windows Installer privilege escalation techniques.

Meanwhile, the file write primitive allows attackers to plant malicious DLLs in privileged locations with inherited permissive ACLs, facilitating DLL hijacking attacks for code execution as SYSTEM.

Broadcom has addressed both vulnerabilities through security updates. CVE-2025-22230 was mitigated by randomizing pipe names and implementing proper first-instance flags.

CVE-2025-22247 received more comprehensive fixes, including path validation, runtime path verification, and a new allowSymlinks configuration option (disabled by default).

Organizations should immediately update to VMware Tools 12.5.2 or later versions.

The vulnerabilities affect the default Windows installation of VMware Tools, making nearly all Windows virtual machines in VMware environments potentially exploitable by local users seeking privilege escalation.

Given VGAuth’s widespread deployment and the severity of these flaws, administrators should prioritize patching efforts to prevent potential system compromises through these well-documented attack vectors.

Get Free Ultimate SOC Requirements Checklist Before you build, buy, or switch your SOC for 2025 - Download Now

Divya

Divya is a Senior Journalist at GBhackers covering Cyber Attacks, Threats, Breaches, Vulnerabilities and other happenings in the cyber world.

Recent Posts

Hackers Use ConnectWise SkyKick Credentials to Access Microsoft 365, Halting Cloud Backups

Attackers abused compromised ConnectWise Cloud Backup credentials to access Microsoft 365 customer environments, prompting ConnectWise…

1 day ago

Anthropic’s Claude AI Uncovers Origins of NSA-Provided Cryptographic Keys After 25 Years

Anthropic says an internal Claude research model reconstructed how the National Security Agency generated seeds…

1 day ago

Critical WordPress Flaws Allow Attackers to Execute Remote Code Without Authentication

Two WordPress Core vulnerabilities can be chained to execute remote code without authentication, according to…

1 day ago

OpenBSD Kernel Flaw Dating Back 37 Years Enables Local Privilege Escalation to Root

A newly disclosed OpenBSD kernel exploitation chain combines a shared memory accounting flaw with a…

1 day ago

GhostAction Hackers Hide Credential-Stealing Malware in Fake Font Files Across 94 GitHub Repositories

GhostAction attackers have expanded their GitHub credential theft campaign with a second stage that disguises…

2 days ago

SideCopy Hackers Target Indian Organizations With ReverseRAT Malware to Steal Data

Indian authorities have warned that SideCopy hackers are targeting Indian organizations, including academic institutions, with…

2 days ago