Skip to content
RCE Advisory Advanced CVE-2024-38045

Windows TCP/IP Remote Code Execution Vulnerability (CVE-2024-38045)

A vulnerability exists in the Windows TCP/IP stack that can be triggered by sending a specially crafted request to a machine with the NetNAT service configured. An attacker who meets the required conditions could achieve remote code execution, though exploitation is not guaranteed and depends on the environment and configuration.

Cyber Kunlun Follow

Originally disclosed on Microsoft

High 8.1 View original

FAQ

Windows 11, version 24H2 is not generally available yet. Why are there updates for this version of Windows listed in the Security Updates table? The new Copilot+ devices that are now publicly available come with Windows 11, version 24H2 installed. Customers with these devices need to know about any vulnerabilities that affect their machine and to install the updates if they are not receiving automatic updates. Note that the general availability date for Windows 11, version 24H2 is scheduled for later this year.

FAQ

According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability? Successful exploitation of this vulnerability requires an attacker to have a deep understanding of the system and the ability to manipulate its components to trigger a specific condition. Successful exploitation is not guaranteed and depends on a combination of factors that may include the environment, system configuration, and the presence of additional security measures.

FAQ

How could an attacker exploit this vulnerability? An attacker must send a specially crafted request to a Windows machine that has NetNAT service configured, which is a non-default configuration. In addition, specific network conditions must exist for exploitation to succeed.

Windows TCP/IP

Windows TCP/IP

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Wei in Kunlun Lab 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 TCP/IP stack reachable through crafted network traffic when the NetNAT service is enabled.

Impact

An attacker could achieve remote code execution, but only on machines with the non-default NetNAT service configured and only when specific network conditions exist, so exploitation is not guaranteed.

What the attacker needed

NetNAT service configured (non-default); specific network conditions; attacker sends crafted request

The fix

Microsoft released security updates for affected Windows versions, and customers should install them.

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 the networking software built into Windows that handles internet traffic. If a machine has an optional feature called NetNAT turned on, an attacker could send it a malformed network message that might let them run their own code on the machine. The report stresses that this is hard to pull off and only works in specific setups.

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 Cyber Kunlun

View all

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