Microsoft Windows PFB Font File Heap-based Buffer Overflow Privilege Escalation Vulnerability
A heap-based buffer overflow in the parsing of PFB font files on Microsoft Windows allows a local attacker with low-privileged code execution to escalate privileges and run code in the kernel. The flaw is triggered by crafted font data.
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
Root cause
Likely insufficient bounds checking when parsing PFB font data leads to a heap-based buffer overflow.
Impact
An attacker could escalate privileges and execute code in the context of the kernel, but only after first obtaining the ability to execute low-privileged code on the target system.
What the attacker needed
Ability to execute low-privileged code
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.
A font file is more than just shapes; it is data that the operating system must parse carefully. Here, a specially crafted font file causes the system to write more data into a memory area than it should, which can crash or be abused to run malicious code with higher privileges. An attacker who can already run some code on the machine could use this to gain full control.
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.