Skip to content
RCE Advisory Advanced CVE-2023-35641

Internet Connection Sharing (ICS) Remote Code Execution Vulnerability (CVE-2023-35641)

The Windows Internet Connection Sharing service mishandles DHCP messages, allowing a crafted message to trigger remote code execution. An attacker on the same network segment could exploit this to run code on the affected system.

k0shl Follow

Originally disclosed on Microsoft

Critical 8.8 View original

FAQ

How could an attacker exploit this vulnerability? To exploit this vulnerability, an attacker would need to send a maliciously crafted DHCP message to a server that runs the Internet Connection Sharing service.

FAQ

According to the CVSS score, the attack vector is adjacent (AV:A). What does this mean for this vulnerability? This attack is limited to systems connected to the same network segment as the attacker. The attack cannot be performed across multiple networks (for example, a WAN) and would be limited to systems on the same network switch or virtual network.

Windows Internet Connection Sharing (ICS)

Windows Internet Connection Sharing (ICS)

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by k0shl with Kunlun Lab. 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 how the ICS service parses DHCP messages, though the text does not state the exact coding mistake.

Impact

An attacker on the same network segment could achieve remote code execution on the target system; the attack cannot be performed across multiple networks.

What the attacker needed

Attacker on the same network segment; target runs Internet Connection Sharing

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.

Internet Connection Sharing is a Windows feature that lets one computer share its internet connection with others on the same network. A flaw in how it processes network configuration messages (DHCP) means someone on the same local network could send a specially crafted message and run their own code on the machine. The attacker must already be on the same network segment, so it is not exploitable over the internet.

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 k0shl

View all

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