Streaming vulnerabilities from Windows Kernel (Part 1): Proxying to Kernel
The write-up describes a class of logical vulnerability in Windows Kernel Streaming where internal IOCTL requests are built with the requestor mode set to kernel, so downstream drivers skip user-mode memory and security checks. An attacker could use this to reach privileged operations with user-controlled data and potentially escalate privileges in the kernel.
devco.re
Published on devco.re
Tech Editorials #CVE #Vulnerability #Windows #Kernel #Advisory
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 the internal IOCTL requests are built with the requestor mode set to kernel mode, so downstream drivers trust user-influenced data and skip memory and security access checks.
Impact
A local user could reach kernel operations with data that was not validated as user-mode input, which may allow privilege escalation to kernel level; the text does not demonstrate a full exploit chain in this part.
What the attacker needed
Local access to a Windows machine; ability to open Kernel Streaming devices
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.
Windows separates code that runs in user mode (normal applications) from code that runs in kernel mode (the core of the operating system). When a request comes from user mode, the kernel normally checks the memory addresses and permissions the caller supplied; when a request appears to come from the kernel itself, those checks are often skipped for speed. This article shows that some Windows audio and video drivers create internal requests that look like they came from the kernel, so the checks are skipped even though a normal user started the chain.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.