Skip to content
Info disclosure Write-up Advanced

(CVE-2020-3801) Adobe Reader XFA Heap Address Leak

Adobe Reader and Acrobat DC leak a heap memory address when a crafted XFA PDF containing JavaScript is opened. An attacker could use the leaked pointer to defeat address randomisation and build further exploitation of the PDF viewer.

starlabs.sg

Published on starlabs.sg

Adobe Acrobat is a family of application software and Web services developed by Adobe Inc. to view, create, manipulate, print and manage files in Portable Document Format (PDF).

The author, on starlabs.sg

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 the XFA JavaScript handling returns or exposes a heap pointer value to script rather than keeping it internal.

Impact

The leak could help an attacker bypass memory address randomisation, but the text does not show code execution on its own.

What the attacker needed

Victim opens a crafted XFA PDF; JavaScript enabled in the PDF reader

How it was found

  1. Open a crafted XFA PDF in Adobe Reader or Acrobat DC.
  2. Let the embedded JavaScript execute.
  3. Observe the heap pointer value that is leaked.

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.

When a program loads a file, it stores data in a region of memory called the heap. Normally the exact location of that data is kept secret so attackers cannot reliably aim at it. This report says Adobe Reader accidentally reveals that secret location when it opens a special kind of PDF that runs JavaScript, which makes later attacks easier.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.