CVE-2024-21353

8.8 HIGH

📋 TL;DR

This vulnerability allows remote attackers to execute arbitrary code on systems running Microsoft's WDAC ODBC Driver. Attackers can exploit this heap-based buffer overflow to gain SYSTEM privileges on affected Windows systems. Organizations using Microsoft WDAC with ODBC connectivity are at risk.

💻 Affected Systems

Products:
  • Microsoft WDAC ODBC Driver
Versions: All versions prior to the February 2024 security update
Operating Systems: Windows 10, Windows 11, Windows Server 2016, Windows Server 2019, Windows Server 2022
Default Config Vulnerable: ⚠️ Yes
Notes: Systems with WDAC enabled and using ODBC connections are vulnerable. The driver is commonly used for database connectivity in enterprise applications.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Full system compromise with SYSTEM privileges, enabling data theft, ransomware deployment, and complete control over the affected system.

🟠

Likely Case

Privilege escalation leading to lateral movement within the network, credential harvesting, and installation of persistent backdoors.

🟢

If Mitigated

Limited impact with proper network segmentation, application allowlisting, and privilege separation preventing successful exploitation.

🌐 Internet-Facing: MEDIUM
🏢 Internal Only: HIGH

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

Exploitation requires the attacker to have some level of access to trigger the buffer overflow. No public exploits have been reported as of the advisory date.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: February 2024 security updates (KB5034765 for Windows 11, KB5034763 for Windows 10, etc.)

Vendor Advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-21353

Restart Required: Yes

Instructions:

1. Apply the February 2024 security updates from Microsoft Update. 2. For enterprise environments, deploy through WSUS or Microsoft Endpoint Configuration Manager. 3. Restart affected systems after patch installation.

🔧 Temporary Workarounds

Disable WDAC ODBC Driver

windows

Temporarily disable the vulnerable driver if patching is not immediately possible

sc config wdacodbc start= disabled
sc stop wdacodbc

Network Segmentation

all

Restrict network access to systems using WDAC ODBC Driver

🧯 If You Can't Patch

  • Implement strict network segmentation to isolate systems using WDAC ODBC Driver
  • Apply Windows Defender Application Control policies to restrict execution of unauthorized code

🔍 How to Verify

Check if Vulnerable:

Check if the February 2024 security updates are installed via 'wmic qfe list' or 'Get-Hotfix' in PowerShell

Check Version:

wmic service where name='wdacodbc' get name,pathname

Verify Fix Applied:

Verify the security update KB number is present in installed updates and the WDAC ODBC Driver service is running the patched version

📡 Detection & Monitoring

Log Indicators:

  • Event ID 4688 with wdacodbc.exe in command line
  • Unexpected process creation from wdacodbc.exe
  • Heap corruption errors in Application logs

Network Indicators:

  • Unusual ODBC connection attempts to database servers
  • Anomalous network traffic from systems running WDAC

SIEM Query:

source="windows" AND (process_name="wdacodbc.exe" AND (parent_process!="services.exe" OR command_line="*overflow*"))

🔗 References

📤 Share & Export