Skip to content
RCE Advisory Advanced CVE-2022-34722

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

A flaw in the Windows implementation of the IKEv1 protocol allowed an unauthenticated attacker to send a crafted IP packet to a machine with IPSec enabled, potentially achieving remote code execution. The text does not describe the specific memory-safety mistake or the exact exploitation mechanism.

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-safety flaw in the Windows IKEv1 packet parser, but the text does not state the underlying mistake.

Impact

An unauthenticated attacker could potentially achieve remote code execution on a Windows machine with IPSec enabled, though the text only says this 'could' happen and gives no further detail.

What the attacker needed

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

The fix

Microsoft published a security update for this vulnerability; the text only lists 'Customer Action Required' as 'Yes' without describing the fix.

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.

IKE is the protocol Windows uses to set up secure VPN connections. This bug meant that a stranger on the network could send a malformed packet to a Windows machine with IPSec turned on and, in the worst case, run their own code on it without logging in. The text does not explain the technical details of how that happens.

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.