CVE-2021-38630

7.8 HIGH

📋 TL;DR

This vulnerability allows an authenticated attacker to execute arbitrary code with SYSTEM privileges by exploiting a flaw in Windows Event Tracing. It affects Windows operating systems where an attacker has local access and can run specially crafted code.

💻 Affected Systems

Products:
  • Microsoft Windows
Versions: Windows 10 versions 1809, 1909, 2004, 20H2, 21H1; Windows Server 2019, 2022; Windows 11
Operating Systems: Windows 10, Windows 11, Windows Server 2019, Windows Server 2022
Default Config Vulnerable: ⚠️ Yes
Notes: Requires attacker to have local authenticated access; not exploitable remotely without initial access.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attacker gains full SYSTEM privileges, enabling complete system compromise, data theft, persistence installation, and lateral movement across the network.

🟠

Likely Case

Local privilege escalation from a standard user account to SYSTEM, allowing installation of malware, credential harvesting, and bypassing security controls.

🟢

If Mitigated

With proper patching and least privilege principles, impact is limited to denial of service or minimal data access if exploitation fails.

🌐 Internet-Facing: LOW - Requires local authenticated access; not directly exploitable over the internet.
🏢 Internal Only: HIGH - Any compromised internal account could escalate to SYSTEM, posing significant risk to domain integrity.

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

Exploitation requires local authenticated access and ability to execute code; proof-of-concept code has been published.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: October 2021 security updates (KB5006670, KB5006674, etc.)

Vendor Advisory: https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-38630

Restart Required: Yes

Instructions:

1. Apply October 2021 Windows security updates via Windows Update. 2. For enterprise: Deploy through WSUS or SCCM. 3. Verify update installation with winver command.

🔧 Temporary Workarounds

Restrict Event Tracing Access

windows

Limit who can create or modify Event Tracing sessions through Group Policy.

Configure via Group Policy: Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment > Manage auditing and security log

🧯 If You Can't Patch

  • Implement strict least privilege: Ensure users only have necessary permissions, no local admin rights.
  • Monitor for suspicious Event Tracing activity and privilege escalation attempts using EDR/SIEM tools.

🔍 How to Verify

Check if Vulnerable:

Check Windows version and if October 2021 security updates are installed via winver or systeminfo.

Check Version:

systeminfo | findstr /B /C:"OS Name" /C:"OS Version"

Verify Fix Applied:

Verify KB5006670 (or equivalent for your version) is listed in installed updates via Settings > Update & Security > View update history.

📡 Detection & Monitoring

Log Indicators:

  • Event ID 4688: New process creation with SYSTEM privileges from non-SYSTEM accounts
  • Suspicious Event Tracing session creation/modification in Security logs

Network Indicators:

  • Unusual outbound connections from SYSTEM context following local user activity

SIEM Query:

source="Windows Security" EventID=4688 NewProcessName="*" SubjectUserName!="SYSTEM" TokenElevationType="%%1936"

🔗 References

📤 Share & Export