Skip to content
Memory corruption Advisory Advanced CVE-2018-12812

Adobe Acrobat Reader DC Collab.drivers Remote Code Execution Vulnerability

A type confusion in Adobe Acrobat Reader DC's JavaScript engine can be triggered by a crafted PDF, causing a wrong object to be used and potentially leading to arbitrary code execution. The attacker must convince the victim to open the malicious file or visit a malicious web page.

Aleksandar Nikolic Follow

Originally disclosed on Cisco Talos

Medium 6.8 View original

A specific JavaScript code embedded in a PDF file can lead to an object type confusion when opening a PDF document in Adobe Acrobat Reader DC 2018.011.20038. With careful memory manipulation, this can lead to arbitrary code execution.

Aleksandar Nikolic, on Cisco Talos

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, the JavaScript engine's cache returns an object of the wrong type after a call to an undocumented function, leading to a type confusion when that object is later used.

Impact

This could result in control flow hijacking and arbitrary code execution, though the report only demonstrates a crash.

What the attacker needed

Victim opens a malicious PDF; JavaScript enabled in Acrobat Reader

How it was found

  1. Create a PDF with embedded JavaScript that calls InitializeFormsTrackerJS and then accesses Collab.drivers[0].getWorkspaceCreator.
  2. Open the PDF in Adobe Acrobat Reader DC 2018.011.20038.
  3. The JavaScript executes, causing a type confusion and a crash due to an invalid instruction pointer.

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 report describes a bug in Adobe Acrobat Reader, a program for opening PDF files. When a PDF contains certain JavaScript code, the program gets confused about the type of an object in memory. This confusion can let an attacker run their own code on the victim's computer if the victim opens a malicious PDF.

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.

More by Aleksandar Nikolic

View all

147 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

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.