CVE DatabaseCVE-2024-30051
한국어 권고문 →
CVE-2024-300517.8/HIGHCISA KEVCWE-122CWE-787

Windows DWM Core Library Elevation of Privilege Vulnerability (CVE-2024-30051) Technical Advisory

⚡ Jump to Patch
Affected Vendors
microsoft
Affected Components
windows, windows_server
Published Date
2024-05-14
CVSS v3.1
7.8
HIGH
EPSS (30d)
5.7%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Windows 10, Windows 11, and Windows Server operating systems utilizing the Desktop Window Manager (DWM) Core Library

Impact

Local attackers can trigger a heap-based buffer overflow to execute arbitrary code with SYSTEM privileges, leading to full host compromise

Mitigation

Immediately apply the Microsoft May 2024 Patch Tuesday cumulative security updates and restrict unauthorized local access

Affected Products & Version Scope

Windows 10, Windows 11, and Windows Server 2016 / 2019 / 2022 missing the May 2024 cumulative security updates

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

To mitigate this vulnerability, apply the official Microsoft cumulative updates. You can force Windows Update to download and install the latest patches using PowerShell:

powershell
# Install PSWindowsUpdate module and trigger update installation
Install-Module PSWindowsUpdate -Force -SkipPublisherCheck
Get-WindowsUpdate -AcceptAll -Install -AutoReboot

2. Temporary Workaround & Hardening Configuration

Since this is a local privilege escalation vulnerability, restrict interactive local logins (RDP/Console) for non-essential users and enforce strict AppLocker/Software Restriction Policies. Enable process creation auditing to monitor suspicious activities:

cmd
:: Enable Process Creation Auditing via Command Prompt
auditpol /set /subcategory:'Process Creation' /success:enable /failure:enable

3. Log Audit & IoC Verification Commands

Use the following PowerShell script to verify the file version of dwmcore.dll and inspect if the DWM process (dwm.exe) has spawned any anomalous child processes (such as cmd.exe or powershell.exe):

powershell
# Check the file version of dwmcore.dll
$DwmPath = '$env:SystemRoot\System32\dwmcore.dll'
if (Test-Path $DwmPath) {
    $VersionInfo = (Get-Item $DwmPath).VersionInfo
    Write-Host 'Current dwmcore.dll Version:' $VersionInfo.FileVersion
}

# Detect anomalous child processes spawned by dwm.exe
Get-CimInstance Win32_Process | Where-Object {
    $_.ParentProcessId -eq (Get-Process dwm -ErrorAction SilentlyContinue).Id
} | Select-Object ProcessId, Name, CommandLine, CreationDate
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
SentinelOne Singularity AI EDR
Due to active in-the-wild exploitation, prioritize the deployment of Microsoft's May 2024 security updates across all enterprise Windows assets immediately.

Block Kernel Privilege Escalation & Ransomware Payloads Before You Can Reboot

Protect unpatched Windows, Linux, and macOS workloads against in-memory exploitation and lateral movement with autonomous EDR.

100% MITRE ATT&CK Detection · 1-Click Rollback

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability (CVE-2024-30051) is an elevation of privilege (EoP) vulnerability residing in the Windows Desktop Window Manager Core Library (dwmcore.dll). The root cause stems from a heap-based buffer overflow (CWE-122) and out-of-bounds write (CWE-787). When processing specific graphical buffers or window metadata, DWM fails to properly validate the size of input data, allowing memory boundaries to be overwritten.

2. Exploitation Mechanics & Attack Scenario

To exploit this vulnerability, an attacker must first gain local execution capabilities on the target system with low-privileged user access. The attacker then issues crafted API calls or graphics rendering requests to the DWM process, triggering heap corruption within dwmcore.dll. By overwriting critical control structures or function pointers in adjacent heap chunks, the attacker hijacks the execution flow to run arbitrary payloads under the context of NT AUTHORITY\SYSTEM.

3. Infrastructure & Business Impact

This vulnerability is actively exploited in the wild and is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog. Local privilege escalation vulnerabilities are critical components of multi-stage cyber attacks, often chained with initial access vectors (such as phishing or web exploits) to perform lateral movement, credential dumping, and domain-wide compromise. Unpatched endpoints and servers pose a severe risk of ransomware deployment and data exfiltration.

Official Vendor Advisories & References

Frequently Asked SecOps Questions (CVE-2024-30051)

FAQ

Q1. How critical is CVE-2024-30051 and is it actively exploited in the wild?

CVE-2024-30051 is rated CVSS 7.8 (HIGH) with a 30-day EPSS exploitation probability of 5.7%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2024-30051?

Primary impacted vendors include microsoft across windows, windows_server. Scope summary: Windows 10, Windows 11, and Windows Server 2016 / 2019 / 2022 missing the May 2024 cumulative security updates

Q3. What temporary mitigations or workarounds exist for CVE-2024-30051 before patching?

[Mitigation] Immediately apply the Microsoft May 2024 Patch Tuesday cumulative security updates and restrict unauthorized local access Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2024-30051

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (microsoft)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2024-30051 Windows DWM Core Library Elevation of Privilege Vulnerability (CVE-2024-30051) Technical Advisory (CVSS 7.8) - Patch & Workaround | CVE Pulse