Skip to content
RCE Advisory Advanced CVE-2022-34721

Windows Internet Key Exchange (IKE) Protocol Extensions Remote Code Execution Vulnerability (CVE-2022-34721)

A remote code execution flaw exists in the Windows implementation of the IKEv1 protocol. An unauthenticated attacker could send a specially crafted IP packet to a Windows machine with IPSec enabled, potentially leading to remote code execution.

Yuki Chen Follow

Originally disclosed on Microsoft

Critical 9.8 View original

FAQ

How could an attacker exploit this vulnerability? An unauthenticated attacker could send a specially crafted IP packet to a target machine that is running Windows and has IPSec enabled, which could enable a remote code execution exploitation.

FAQ

Does this vulnerability affect all versions of Internet Key Exchange (IKE) Protocol? No, this vulnerability only impacts IKEv1. IKEv2 is not impacted. However, all Windows Servers are affected because they accept both V1 and V2 packets.

Windows IKE Extension

Windows IKE Extension

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Yuki Chen with Cyber KunLun. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a memory corruption or logic error in the parsing of IKEv1 packets within the Windows IPSec implementation.

Impact

An unauthenticated attacker could achieve remote code execution on a Windows machine that has IPSec enabled, though the text does not specify the level of access gained.

What the attacker needed

Target runs Windows with IPSec enabled; attacker can send IP packets to the target

The fix

Microsoft released a security update to address the vulnerability, as indicated by the 'Customer Action Required' section.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

This is a bug in how Windows handles a network protocol used to set up secure connections (IPSec). An attacker who can send network packets to a Windows machine with IPSec turned on could send a malformed packet that might let them run their own code on the machine. No login is needed, but the target must have IPSec enabled.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Yuki Chen

View all

90 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.