Skip to content
Info disclosure Advisory Advanced CVE-2020-6093

Nitro Pro PDF Javascript XML error handling Information Disclosure Vulnerability

A malformed JavaScript object in a PDF causes Nitro Pro to access uninitialized memory when handling a JavaScript error, leading to information disclosure. An attacker could exploit this to leak heap layout details, potentially bypassing exploit mitigations.

Aleksandar Nikolic Follow

Originally disclosed on Cisco Talos

Medium 6.5 View original

An exploitable information disclosure vulnerability exists in the way Nitro Pro 13.9.1.155 does XML error handling. A specially crafted PDF document can cause uninitialized memory access resulting in information disclosure.

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 error reporter callback receives a JSErrorReport structure with uninitialized or freed pointers, and Nitro Pro's wrapper passes these to a wide-string formatting function without validation.

Impact

This could leak sensitive information about heap layout, which could be abused to bypass other exploit mitigations; without PageHeap, it does not crash but reads stale pointers.

What the attacker needed

Victim opens a malicious PDF

How it was found

  1. Create a PDF with a JavaScript action containing malformed content.
  2. Open the PDF in Nitro Pro.
  3. The JavaScript engine raises an error and calls the registered error handler.
  4. The error handler passes the JSErrorReport structure to a formatting function, which reads from uninitialized memory.

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.

When a PDF contains JavaScript, Nitro Pro runs it using a JavaScript engine. If the JavaScript is malformed, the engine reports an error, but Nitro Pro mishandles part of that error report, reading memory that was never properly set up. This can leak bits of memory that might help an attacker defeat security protections.

What is Info disclosure?

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

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.

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.