Skip to content
Memory corruption Write-up Advanced

Windows WiFi Driver RCE Vulnerability – CVE-2024-30078

The Windows Wi-Fi driver lacked a check for the presence of the IEEE 802.1Q header when translating 802.11 packets to Ethernet, leading to an out-of-bounds read and a limited out-of-bounds write. An attacker within Wi-Fi range could send a crafted packet to corrupt adjacent memory, but the authors found the impact far less severe than Microsoft's RCE rating because the overwritten memory is not useful for control-flow hijacking.

crowdfense.com

Published on crowdfense.com

aleksandr.k, voidsec2024-09-05T09:38:12+04:00

aleksandr.k, voidsec, on crowdfense.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

Impact

An attacker within Wi-Fi range could trigger an out-of-bounds write of a few bytes, but the authors conclude the impact is much less critical than Microsoft anticipated because the overwritten memory contains no useful data for control-flow hijacking.

What the attacker needed

Attacker within Wi-Fi range; target connected to attacker's fake AP or same network; no authentication on target

The fix

The patch added a check that the 4-byte IEEE 802.1Q header is present before using it.

How it was found

  1. Set up a fake access point that beacons and responds to probe, authentication, and association requests.
  2. Connect the target Windows machine to the fake access point.
  3. Send a data packet containing an LLC header with type 0x8100 and no following IEEE 802.1Q header.
  4. Observe the out-of-bounds read and write in the driver when it builds the Ethernet header.

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.

When your computer receives Wi-Fi data, a driver converts it into a format the operating system understands. This driver did not verify that a small optional header was actually present before reading it, so a malicious packet could make it read and write a few bytes past the intended buffer. The researchers found that the corrupted memory is not useful for taking over the machine, so the real risk is much lower than Microsoft's remote code execution label suggests.

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.