CVE-2022-34721
Critical · 9.8CVSS
9.8
EPSS
76.2%
Published
Sep 13, 2022
CISA due date
—
Cloudanix analysis
A vulnerable Windows computer could be taken over remotely if it is reachable through certain VPN or secure networking services and has not been updated.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Remote Code Execution
- Component
- Network Service
- Class
- RCE
- Remediation
- Patch
- Effort
- Low
- Patch risk
- Low
What it actually does
CVE-2022-34721 is a critical remote code execution vulnerability in Microsoft Windows Internet Key Exchange (IKE) Protocol Extensions, affecting supported and legacy Windows client and server versions. The flaw is reachable over the network with low attack complexity, requires no authentication or user interaction, and can affect confidentiality, integrity, and availability. Successful exploitation may allow an attacker to execute code on a vulnerable Windows system that processes maliciously crafted IKE/IPsec-related network traffic, potentially leading to full system compromise depending on service context and platform configuration.
Why it matters to the business
Organizations running vulnerable Windows systems may face remote compromise of workstations, servers, domain-adjacent infrastructure, or VPN/IPsec-enabled assets without requiring user interaction. Because IKE/IPsec services are often exposed for VPN, site-to-site connectivity, or protected network communications, exploitation could disrupt remote access, enable lateral movement, expose sensitive data, or create an entry point for broader intrusion. The high CVSS score and high EPSS probability indicate elevated exploitation risk even though this vulnerability is not currently listed in CISA KEV and no ransomware association is reported.
How an attack unfolds
An attacker first identifies Windows systems that expose IKE/IPsec-related services, commonly over UDP ports 500 and 4500. The attacker then sends specially crafted IKE protocol traffic designed to trigger the vulnerable code path in Windows IKE Protocol Extensions. Because the vulnerability requires no authentication and no user interaction, a reachable vulnerable host can potentially be exploited directly from the network. If exploitation succeeds, attacker-controlled code may run on the target system, allowing the attacker to establish persistence, disable security controls, dump credentials, pivot to internal systems, or disrupt network services. In perimeter scenarios such as VPN concentrator-adjacent Windows servers or internet-reachable IPsec endpoints, the vulnerability can provide an initial access path into the organization.
How to fix it
Apply the Microsoft security updates released for CVE-2022-34721 from the September 2022 Patch Tuesday cycle or later cumulative updates for all affected Windows versions, including Windows 10, Windows 11, Windows 7, Windows 8.1, Windows RT 8.1, Windows Server 2008, Windows Server 2012, Windows Server 2016, Windows Server 2019, and Windows Server 2022 where applicable. Prioritize internet-facing systems, VPN/IPsec endpoints, servers permitting IKE traffic, and high-value internal Windows servers. If immediate patching is not possible, reduce exposure by blocking or strictly limiting UDP/500 and UDP/4500 to trusted peers, disabling unused IPsec/IKE services or VPN configurations, enforcing network segmentation, and monitoring for anomalous IKE negotiation attempts. Legacy or unsupported Windows versions should be upgraded or isolated because they may not receive ongoing security coverage without extended support arrangements.
How to confirm the fix worked
Confirm that each affected Windows system has installed the applicable Microsoft cumulative update or security-only update released in September 2022 or later. Validate through Windows Update history, enterprise patch management tooling, installed KB inventory, or vulnerability scanning that explicitly checks CVE-2022-34721. From a network perspective, verify that IKE/IPsec exposure is limited to required trusted sources and that UDP/500 and UDP/4500 are not broadly reachable unless operationally necessary. Re-run authenticated vulnerability scans after patch deployment and confirm that external attack surface scans no longer identify unmanaged or unexpected Windows IKE/IPsec endpoints.
Typical attack path
- Scan for Windows systems exposing IKE/IPsec services, especially UDP/500 and UDP/4500.
- Fingerprint reachable hosts to identify likely vulnerable Windows versions or IPsec/VPN roles.
- Send malformed or crafted IKE protocol packets to trigger the vulnerable Windows IKE Protocol Extensions code path.
- Achieve remote code execution on the vulnerable host if exploitation is successful.
- Deploy a payload or establish command-and-control access.
- Perform privilege escalation, credential access, lateral movement, or service disruption depending on the compromised host’s role.
How to detect it
To determine whether exploitation may have already occurred, review perimeter firewall, VPN, IDS/IPS, and Windows host telemetry for suspicious IKE/IPsec traffic to UDP/500 and UDP/4500, especially malformed negotiation attempts, repeated failed negotiations, spikes in traffic, or connections from unexpected external sources. On Windows systems that expose IKE/IPsec services, examine System and Security event logs, Windows Filtering Platform events, IPsec/IKE audit events, service crash events, and endpoint detection telemetry around the time of suspicious network activity. Look for signs of successful post-exploitation rather than relying only on protocol logs: unexpected process creation, new or modified services, abnormal PowerShell or cmd.exe execution, credential dumping tools, suspicious scheduled tasks, unauthorized local accounts, changes to firewall rules, and unusual outbound connections from the affected host. Because public exploit maturity is not reported in the input, absence of known exploit-specific strings does not rule out compromise; correlate network anomalies with host-level behavioral evidence.
- UDP/500 inbound to Windows hosts from untrusted sources
- UDP/4500 inbound to Windows hosts from untrusted sources
- IKEEXT service crash
- Service Control Manager event indicating IKEEXT service terminated unexpectedly
- Application Error involving IKEEXT
- Windows Error Reporting event for IKEEXT
- unexpected inbound IKE negotiation failures
- repeated UDP 500 connection attempts
- repeated UDP 4500 connection attempts
- new service created after inbound UDP/500 or UDP/4500 activity
- suspicious powershell.exe execution after IKE/IPsec traffic
- suspicious cmd.exe execution after IKE/IPsec traffic
- unexpected outbound connection from server after IKE/IPsec traffic
What your security team should do
- Prioritize patching for internet-facing Windows systems, VPN/IPsec-enabled hosts, domain controllers, remote access infrastructure, and critical servers.
- Inventory exposure of UDP/500 and UDP/4500 across external and internal networks and restrict access to known trusted peers.
- Use authenticated vulnerability scanning or patch compliance reporting to verify September 2022 or later Microsoft security updates are installed.
- Review firewall, VPN, and IPsec configurations to disable unused IKE/IPsec services and reduce unnecessary attack surface.
- Monitor for anomalous IKE negotiation activity, malformed packet patterns, repeated negotiation failures, and unexpected source countries or networks targeting UDP/500 or UDP/4500.
- Investigate any unusual post-exploitation behavior on exposed Windows systems, including new services, suspicious child processes, credential dumping indicators, and outbound command-and-control connections.
- For unsupported Windows versions, migrate to supported platforms or isolate systems behind strict network controls.
The record
Windows Internet Key Exchange (IKE) Protocol Extensions Remote Code Execution Vulnerability
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|