Skip to content
RCE Advisory Advanced CVE-2017-0291

Windows PDF Remote Code Execution (CVE-2017-0291)

A specially crafted PDF file could trigger remote code execution in Microsoft Windows when a user opened it. An attacker could run arbitrary code with the victim's privileges, and full system control if that user was an administrator.

Ke Liu Follow

Originally disclosed on Microsoft

Critical 3.6 View original

Description

A remote code execution vulnerability exists in Microsoft Windows if a user opens a specially crafted .pdf file. An attacker who successfully exploited the vulnerabilities could cause arbitrary code to execute in the context of the current user. If a user is logged on with administrative user rights, an attacker could take control of the affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights. The update addresses the vulnerabilities by modifying how Windows parses .pdf files.

Microsoft Windows PDF

Microsoft Windows PDF

The original report as published on the Microsoft Security Response Center, by Ke Liu (winsonliu) of Tencent's Xuanwu LAB working with Trend Micro's Zero Day Initiative (ZDI). Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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 a memory-safety flaw in how Windows parses PDF files, which the update corrects.

Impact

An attacker could execute arbitrary code as the current user, and take full control of the system if that user has administrative rights.

What the attacker needed

Victim opens a crafted PDF file; Windows PDF parsing component

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.

A PDF file is normally just a document, but the software that reads it can have mistakes. Here, a booby-trapped PDF could make Windows run the attacker's commands as if the logged-in user had typed them. If that user is an administrator, the attacker effectively owns the machine.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Ke Liu

View all

1 more disclosed report, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.