Microsoft Office/WordPad Remote Code Execution Vulnerability w/Windows (CVE-2017-0199)
Microsoft Office and WordPad mishandled specially crafted files, allowing an attacker to run code on the victim's machine. An attacker could gain the same rights as the logged-in user by getting them to open or preview a malicious file.
Originally disclosed on Microsoft
Description
A remote code execution vulnerability exists in the way that Microsoft Office and WordPad parse specially crafted files. An attacker who successfully exploited this vulnerability could take control of an affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. Exploitation of this vulnerability requires that a user open or preview a specially crafted file with an affected version of Microsoft Office or WordPad. In an email attack scenario, an attacker could exploit the vulnerability by sending a specially crafted file to the user and then convincing the user to open the file. The update addresses the vulnerability by correcting the way that Microsoft Office and WordPad parses specially crafted files, and by enabling API functionality in Windows that Microsoft Office and WordPad will leverage to resolve the identified issue.
Microsoft Office
Microsoft Office
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 document parsers in Office and WordPad mishandled specially crafted files, and the fix also enabled Windows API functionality the applications rely on to resolve the issue.
Impact
An attacker could take control of the affected system, install programs, view, change or delete data, or create accounts with full user rights, but only if the user opens or previews the crafted file.
What the attacker needed
Victim opens or previews a crafted file; affected Office or WordPad version
How it was found
- Send a specially crafted file to the target user.
- Convince the user to open or preview the file with an affected version of Office or WordPad.
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.
Some programs that open documents, like Word and WordPad, could be tricked by a booby-trapped file. If a person opened that file, the attacker's code could run on their computer with the same permissions that person had. This is called remote code execution because the attacker can run their own instructions on someone else's machine.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.