Skip to content
RCE Advisory Advanced CVE-2023-23415

Internet Control Message Protocol (ICMP) Remote Code Execution Vulnerability (CVE-2023-23415)

A vulnerability in the Windows implementation of ICMP allows an attacker to send a crafted low-level protocol error containing a fragmented IP packet inside an ICMP packet, which can lead to remote code execution. The attacker must ensure that an application on the target machine is bound to a raw socket to trigger the vulnerable code path.

Erik Egsgard Follow

Originally disclosed on Microsoft

Critical 9.8 View original

FAQ

How could an attacker exploit this vulnerability? An attacker could send a low-level protocol error containing a fragmented IP packet inside another ICMP packet in its header to the target machine. To trigger the vulnerable code path, an application on the target must be bound to a raw socket.

Internet Control Message Protocol (ICMP)

Internet Control Message Protocol (ICMP)

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Erik Egsgard with Field Effect Software. 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 the ICMP packet processing code does not properly validate or handle fragmented IP packets embedded within ICMP error messages, leading to memory corruption.

What the attacker needed

Application bound to a raw socket on target

The fix

Microsoft addressed the vulnerability; the advisory indicates that customer action is required, likely meaning a patch should be applied.

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 flaw in how Windows handles a network error message called ICMP. An attacker can send a specially crafted network packet that tricks the system into running malicious code. However, the attack only works if a program on the victim's computer is listening on a special type of network connection called a raw socket.

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 Erik Egsgard

View all

9 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.