Skip to content
RCE Advisory Advanced CVE-2023-38148

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

The Windows Internet Connection Sharing service mishandles specially crafted network packets, allowing an unauthorised attacker on the same network segment to execute code. The attack is limited to systems on the same switch or virtual network and cannot be performed across multiple networks.

Jarvis_1oop Follow

Originally disclosed on Microsoft

Critical 8.8 View original

FAQ

How could an attacker exploit this vulnerability? An unauthorized attacker could exploit this Internet Connection Sharing (ICS) vulnerability by sending a specially crafted network packet to the Internet Connection Sharing (ICS) 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 Jarvis_1oop. 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 ICS service does not properly validate specially crafted network packets before processing them.

Impact

An attacker on the same network segment could execute code on the affected system; the attack cannot cross multiple networks such as a WAN.

What the attacker needed

Attacker on the same network segment; ICS service enabled

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 lets one Windows computer share its internet connection with others nearby. This bug means someone on the same local network can send a malformed message to that sharing service and make it run their code. They must already be on the same network segment, so it is not something reachable from the wider 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 Jarvis_1oop

View all

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