Microsoft Windows StretchBlt Untrusted Pointer Dereference Local Privilege Escalation Vulnerability
The StretchBlt graphics primitive in Windows fails to validate a user-supplied value before using it as a pointer, allowing a local attacker with low-privileged code execution to escalate to SYSTEM. The flaw is a local privilege escalation that can lead to arbitrary code execution at the highest privilege level.
Originally disclosed on Zero Day Initiative
This vulnerability allows local attackers to escalate privileges on affected installations of Microsoft Windows. 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
Impact
An attacker who can already execute low-privileged code could escalate to SYSTEM and run arbitrary code at the highest privilege level.
What the attacker needed
Ability to run low-privileged code locally
The fix
Microsoft issued an update to correct the 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.
This is a bug in a core Windows graphics function. A program running with limited rights can pass a crafted value that Windows then treats as a memory address, causing it to read or write the wrong place. Because the graphics code runs with high privileges, an attacker who can already run a normal program can use this to take full control of the machine.
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.