CVE-2022-21849

9.8 CRITICAL

📋 TL;DR

This is a critical remote code execution vulnerability in Windows Internet Key Exchange (IKE) Protocol Extensions. Attackers can exploit this vulnerability by sending specially crafted packets to vulnerable Windows systems, potentially gaining SYSTEM-level privileges. All Windows systems with IKE services enabled are affected.

💻 Affected Systems

Products:
  • Windows Server
  • Windows Client
Versions: Windows 10, Windows 11, Windows Server 2016, Windows Server 2019, Windows Server 2022
Operating Systems: Windows
Default Config Vulnerable: ⚠️ Yes
Notes: Systems with IKE services enabled are vulnerable. IKE is commonly used for VPN connections and IPsec implementations.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Full system compromise with SYSTEM privileges, enabling complete control over the target system, lateral movement, data exfiltration, and persistence establishment.

🟠

Likely Case

Remote code execution leading to malware deployment, ransomware installation, or backdoor creation on vulnerable systems.

🟢

If Mitigated

No impact if systems are patched, IKE services are disabled, or network controls block IKE traffic.

🌐 Internet-Facing: HIGH - IKE services may be exposed to the internet for VPN connections, making internet-facing systems prime targets.
🏢 Internal Only: MEDIUM - Internal systems with IKE enabled remain vulnerable to internal attackers or compromised systems.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Microsoft has rated this as 'Exploitation More Likely' in their advisory. The vulnerability requires no authentication and can be triggered via network packets.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: January 2022 security updates (KB5009543 for Windows 10 21H2, KB5009557 for Windows Server 2022, etc.)

Vendor Advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-21849

Restart Required: Yes

Instructions:

1. Apply the January 2022 Windows security updates from Microsoft Update. 2. Restart the system. 3. Verify the patch is installed via Windows Update history or system information.

🔧 Temporary Workarounds

Disable IKE Services

windows

Disable Internet Key Exchange services if not required for VPN or IPsec functionality.

sc stop ikeext
sc config ikeext start= disabled

Block IKE Ports

all

Block UDP port 500 (IKE) and UDP port 4500 (IPsec NAT-T) at network firewalls.

🧯 If You Can't Patch

  • Segment networks to restrict IKE traffic to trusted sources only
  • Implement network intrusion detection/prevention systems to monitor for IKE exploitation attempts

🔍 How to Verify

Check if Vulnerable:

Check if the January 2022 security updates are NOT installed via 'wmic qfe list' or Windows Update history.

Check Version:

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

Verify Fix Applied:

Verify the January 2022 security updates are installed via 'systeminfo | findstr /B /C:"KB5009543" /C:"KB5009557"' or similar for your specific KB.

📡 Detection & Monitoring

Log Indicators:

  • Windows Security logs showing unexpected IKE service crashes (Event ID 1000)
  • System logs with IKE-related errors

Network Indicators:

  • Unusual IKE traffic patterns, especially from untrusted sources
  • Malformed IKE packets

SIEM Query:

EventID=1000 AND SourceName="ikeext" OR ProcessName="svchost.exe" AND CommandLine="*ikeext*"

🔗 References

📤 Share & Export