Skip to content
Memory corruption Write-up Advanced

Overview CVE-2024–38063 is a critical zero-click remote code execution (RCE) vulnerability…

CVE-2024-38063 is a critical zero-click remote code execution vulnerability in the Windows TCP/IP stack, caused by an integer underflow that can lead to a buffer overflow. An attacker could send specially crafted IPv6 packets to execute arbitrary code on a vulnerable system without user interaction.

ajaynaikhack Follow

Published on medium.com

Trustwave Rapid Response: Mitigate Windows TCP/IP RCE Vulnerability (CVE-2024-38063) How to mitigate the Microsoft cve-2024-38063 TCP/IP RCE vulnerability impacting Windows systems utilizing IPv6.www.trustwave.com

Ajay Naik, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely an integer underflow in the Windows TCP/IP stack when processing IPv6 packets, which leads to a buffer overflow.

Impact

If successfully exploited, this vulnerability could allow attackers to remotely execute arbitrary code, which might result in a full system compromise, unauthorized data access, and/or exposure of sensitive information.

What the attacker needed

Windows system with IPv6 enabled; System is unpatched (no August 2024 update); Attacker can send IPv6 packets to target

The fix

Microsoft released a security update in August 2024 Patch Tuesday; if patching is not possible, disabling IPv6 via registry or Group Policy can reduce the attack surface, though blocking IPv6 traffic via firewall is insufficient.

How it was found

  1. Set up a test lab with unpatched Windows systems (Windows 10, 11, or Server) that have IPv6 enabled.
  2. Use a tool like Scapy to craft malformed IPv6 packets that trigger the integer underflow.
  3. Send the crafted packets to the target system's IP address.
  4. Observe whether the exploit achieves arbitrary code execution on the target.

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 write-up has not been written yet. The Original tab links to the source.

This is a flaw in how Windows handles network traffic, specifically the newer IPv6 protocol. A mistake in the code that processes incoming data can let an attacker run their own commands on the computer just by sending it a malicious network packet, without the user clicking anything. It is very serious because it can be exploited remotely and Windows has IPv6 turned on by default.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.