Realtek rtl81xx SDK Wi-Fi Driver rtwlanu Heap-based Buffer Overflow Local Privilege Escalation Vulnerability
A heap-based buffer overflow exists in the Realtek rtl81xx SDK Wi-Fi driver's N6CSet_DOT11_CIPHER_DEFAULT_KEY function because user-supplied data length is not validated before being copied into a fixed-length heap buffer. A local attacker who can already run low-privileged code could exploit this to escalate privileges and execute code as SYSTEM.
This vulnerability allows local attackers to escalate privileges on affected installations of Realtek rtl81xx SDK Wi-Fi driver. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.
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 driver copies a caller-supplied buffer into a fixed-size heap allocation without checking the supplied length against the destination size.
Impact
A local attacker with the ability to execute low-privileged code could escalate privileges and run arbitrary code in the context of SYSTEM; the text does not describe any defence that limited the exploit.
What the attacker needed
Ability to run low-privileged code locally; affected Realtek rtl81xx SDK Wi-Fi driver installed
The fix
It was fixed in driver version v1030.44.1204.2024.
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 a Wi-Fi driver, the low-level software that lets the operating system talk to a wireless network card. When the driver handles a certain request, it copies data into a small reserved area of memory without first checking that the data fits, so extra data spills over into neighbouring memory. Someone who can already run a limited program on the machine could use that spill to take control of the computer with the highest level of permission.
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.