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.
Originally disclosed on Microsoft
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
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.