Skip to content
Memory corruption Write-up Advanced

Analyzing a CVE-2013-3346/CVE-2013-5065 Exploit with peepdf

The text describes a PDF exploit that used an Adobe Reader use-after-free vulnerability to run code on a victim's machine, then a Windows privilege escalation zero-day to escape the Adobe sandbox and run a second payload without restrictions.

insinuator.net

Published on insinuator.net

This is a guest post from Jose Miguel Esparza (@EternalTodo)

The author, on insinuator.net

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 handling of a ToolButton object, combined with a Windows privilege escalation flaw that allowed sandbox escape.

Impact

An attacker could execute code on the victim's machine and then bypass the Adobe sandbox to run a new payload without restrictions.

What the attacker needed

Victim opens a malicious PDF; vulnerable Adobe Reader; vulnerable Windows

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 PDF file can contain hidden code that abuses a bug in the program that opens it, Adobe Reader. Here the bug let an attacker run their own code on the computer, and a second bug in Windows let that code break out of the restricted 'sandbox' Adobe uses to contain damage.

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.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.