Microsoft Windows Bluetooth BNEP Protocol Out-Of-Bounds Write Remote Code Execution Vulnerability
The BNEP packet processing in Windows lacks validation of user-supplied data, leading to an out-of-bounds write. A network-adjacent attacker could exploit this to execute code in the kernel context, but the target must connect a malicious Bluetooth device.
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Microsoft Windows. User interaction is required to exploit this vulnerability in that the target must connect a malicious Bluetooth device.
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 report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely, the BNEP packet processing code fails to validate the length of user-supplied data before copying it into a fixed-size buffer, causing an out-of-bounds write.
Impact
An attacker could execute arbitrary code in the kernel context, but only if the victim connects a malicious Bluetooth device.
What the attacker needed
Victim connects a malicious Bluetooth device; attacker within Bluetooth range
The fix
Microsoft issued an update to correct this vulnerability.
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.
Bluetooth devices talk to your computer using a protocol called BNEP. The software that handles these messages didn't check the size of incoming data properly, so a malicious device could send too much data and overflow a memory buffer. This could let an attacker run their own code on your machine, but only if you connect the bad device.
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.