TianFu Cup 2019: Adobe Reader Exploitation
A use-after-free vulnerability in Adobe Reader's JSObject handling allowed an attacker to corrupt memory and potentially execute code. The author exploited this bug during a competition, though the exploit required extensive heap shaping and trial and error.
starlabs.sg
Published on starlabs.sg
Last year, I participated in the TianFu Cup competition in Chengdu, China. The chosen target was the Adobe Reader.
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 a use-after-free in Adobe Reader's JSObject handling, where an object is freed but still referenced.
Impact
An attacker could potentially execute arbitrary code on the victim's machine by exploiting this use-after-free.
What the attacker needed
Adobe Reader on Windows 10; victim opens a malicious PDF
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.
A use-after-free bug happens when a program frees memory but then keeps using it, letting an attacker control what goes into that memory. In this case, Adobe Reader's handling of JavaScript objects had this flaw, which could let an attacker run their own code on the victim's computer.
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.