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.
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
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.