Skip to main content
Vulnerability Database/CVE-2024-30064

CVE-2024-30064: Windows Server 2022 Privilege Escalation

CVE-2024-30064 is a kernel privilege escalation vulnerability in Windows Server 2022 that enables attackers to gain elevated system privileges. This article covers technical details, affected versions, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2024-30064 Overview

CVE-2024-30064 is an elevation of privilege vulnerability in the Windows kernel affecting Microsoft Windows Server 2022 and Windows Server 2022 23H2. Microsoft categorized the issue under CWE-190, indicating an integer overflow or wraparound condition in kernel code. A local, low-privileged attacker who successfully exploits this flaw can gain SYSTEM-level privileges on the target host. The scope is marked as changed, which means impact extends beyond the vulnerable component to other security domains on the system. Microsoft published the advisory on June 11, 2024, through the Security Update Guide.

Critical Impact

Successful exploitation grants SYSTEM privileges on Windows Server 2022 hosts, enabling full compromise of confidentiality, integrity, and availability.

Affected Products

  • Microsoft Windows Server 2022
  • Microsoft Windows Server 2022 23H2
  • Windows Kernel component on the above server platforms

Discovery Timeline

  • 2024-06-11 - CVE-2024-30064 published to NVD and disclosed by Microsoft via the Security Update Guide
  • 2024-06-11 - Microsoft released the security patch as part of the June 2024 Patch Tuesday cycle
  • 2026-06-17 - Last updated in the NVD database

Technical Details for CVE-2024-30064

Vulnerability Analysis

The vulnerability resides in the Windows kernel and is classified as an integer overflow condition under [CWE-190]. An attacker with local access and standard user privileges can trigger the flaw by invoking a vulnerable kernel code path from user mode. Because the affected logic executes in ring 0, overflow of a size or offset value can cause the kernel to perform calculations against incorrect bounds. This leads to memory corruption or state inconsistency that the attacker leverages to execute arbitrary code in kernel context. The result is privilege escalation from a limited user to SYSTEM, with changed scope indicating impact to components beyond the kernel subsystem itself. No user interaction is required, and attack complexity is low, which raises the risk for multi-tenant and jump-host environments where unprivileged accounts routinely exist.

Root Cause

The root cause is an integer handling defect inside Windows kernel code paths reachable from user mode. Arithmetic on untrusted size, length, or index values wraps around and produces a smaller allocation or a larger-than-intended write bound. Microsoft has not publicly released the specific function or syscall path affected.

Attack Vector

Exploitation requires local code execution with low privileges on the target Windows Server 2022 host. An attacker uses a crafted process or thread to invoke the vulnerable kernel interface and trigger the overflow. Successful exploitation yields kernel-mode code execution and SYSTEM privileges.

No verified proof-of-concept code is publicly available for CVE-2024-30064.
Refer to the Microsoft Security Update Guide for authoritative technical details:
https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-30064

Detection Methods for CVE-2024-30064

Indicators of Compromise

  • Unexpected processes spawning with NT AUTHORITY\SYSTEM tokens from parent processes running under standard user accounts
  • Kernel bugchecks or stop errors referencing memory corruption shortly after execution of unknown binaries
  • Creation of new local administrator accounts or services following interactive logons by low-privileged users
  • Loading of unsigned or unexpected drivers on Windows Server 2022 hosts

Detection Strategies

  • Monitor Windows Security Event Log IDs 4672 and 4673 for anomalous privilege assignments granted to non-administrative users
  • Correlate Sysmon Event ID 1 (process creation) with Event ID 10 (process access) targeting lsass.exe or kernel objects from unprivileged parents
  • Alert on token manipulation patterns where a child process runs at a higher integrity level than its parent
  • Review installed updates to confirm the June 2024 cumulative update is present on all Windows Server 2022 systems

Monitoring Recommendations

  • Enable kernel audit logging and forward Windows Event Logs to a centralized SIEM for correlation
  • Baseline normal privilege use on server workloads and flag deviations in integrity-level transitions
  • Track driver and kernel module load events and verify digital signatures against expected catalogs
  • Monitor for Patch Tuesday compliance on Windows Server 2022 and 23H2 fleets using an authoritative patch management source

How to Mitigate CVE-2024-30064

Immediate Actions Required

  • Apply the June 2024 Microsoft security updates to all Windows Server 2022 and Windows Server 2022 23H2 systems
  • Inventory all affected hosts and prioritize patching on multi-user systems, Remote Desktop hosts, and jump servers
  • Restrict interactive and remote logon rights so that only required accounts can authenticate to affected servers
  • Verify endpoint protection and logging agents are active and reporting on all Windows Server 2022 hosts

Patch Information

Microsoft released the patch for CVE-2024-30064 on June 11, 2024, as part of the monthly security update cycle. Administrators should install the June 2024 cumulative update for Windows Server 2022 and the corresponding update for Windows Server 2022 23H2. Refer to the Microsoft Security Update Guide for CVE-2024-30064 for KB article identifiers and build numbers specific to each affected release.

Workarounds

  • No official workaround has been published by Microsoft; patching is the only authoritative remediation
  • Reduce the number of accounts with local logon rights on Windows Server 2022 hosts to shrink the local attack surface
  • Enforce application control policies such as Windows Defender Application Control (WDAC) to block unapproved binaries from executing
  • Isolate unpatched servers behind strict network and identity controls until updates can be deployed
bash
# Verify patch state on Windows Server 2022 using PowerShell
Get-HotFix | Sort-Object -Property InstalledOn -Descending | Select-Object -First 10

# Query installed OS build to confirm June 2024 or later cumulative update
[System.Environment]::OSVersion.Version
Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion' |
  Select-Object ProductName, DisplayVersion, CurrentBuild, UBR

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.