Skip to content
Memory corruption Write-up Advanced

(CVE-2020-10907) Foxit Reader XFA Widget Use-After-Free Code Execution

A use-after-free flaw in Foxit Reader's handling of XFA form widgets could allow an attacker to execute arbitrary code by crafting a malicious PDF with a specific XFA form structure.

starlabs.sg

Published on starlabs.sg

When processing XFA forms within a PDF, a flaw exists when handling widgets in the form, which can lead to code execution.

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

Impact

An attacker could potentially execute arbitrary code on the victim's machine by convincing them to open a malicious PDF.

What the attacker needed

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 is a memory bug where a program keeps using memory after it has been freed, which can let an attacker control what happens next. Here, a malicious PDF with a specially crafted form could crash the reader or run attacker code.

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.