NetBIOS Remote Code Execution Vulnerability (CVE-2017-0161)
A race condition in NetBT Session Services meant sequencing requirements were not maintained. An attacker able to send crafted NetBT Session Service packets could execute arbitrary code on the target.
Originally disclosed on Microsoft
Description
A race condition that could lead to a remote code execution vulnerability exists in NetBT Session Services when NetBT fails to maintain certain sequencing requirements. To exploit the vulnerability, an attacker needs to be able to send specially crafted NetBT Session Service packets to an impacted system. An attacker who successfully exploits the vulnerability could execute arbitrary code on the target. The security update addresses the vulnerability by correcting how NetBT sequences certain operations.
Windows NetBIOS
Windows NetBIOS
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 race condition in how NetBT Session Services sequences certain operations, allowing crafted packets to trigger unsafe behaviour.
Impact
An attacker who successfully exploits the vulnerability could execute arbitrary code on the target.
What the attacker needed
Ability to send crafted NetBT packets
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.
NetBIOS is an older Windows networking service that lets computers find each other and share resources on a local network. A race condition is when two actions happen at almost the same time and the program handles the order wrongly. Here that mistake could let someone who can send network packets run their own code on the machine.
What is Race condition?
Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.