Microsoft Office Remote Code Execution Vulnerability (CVE-2017-8512)
Microsoft Office failed to properly handle objects in memory, which could allow a specially crafted file to run code in the security context of the logged-on user. An attacker could exploit this by convincing a user to open a malicious file, for example via email or a website.
Description
A remote code execution vulnerability exists in Microsoft Office software when it fails to properly handle objects in memory. An attacker who successfully exploited the vulnerability could use a specially crafted file to perform actions in the security context of the current user. For example, the file could then take actions on behalf of the logged-on user with the same permissions as the current user. To exploit the vulnerability, a user must open a specially crafted file with an affected version of Microsoft Office software. In an email attack scenario, an attacker could exploit the vulnerability by sending the specially crafted file to the user and convincing the user to open the file. In a web-based attack scenario, an attacker could host a website (or leverage a compromised website that accepts or hosts user-provided content) that contains a specially crafted file that is designed to exploit the vulnerability. However, an attacker would have no way to force the user to visit the website. Instead, an attacker would have to convince the user to click a link, typically by way of an enticement in an email or Instant Messenger message, and then convince the user to open the specially crafted file. The security update addresses the vulnerability by correcting how Microsoft Office handles files in memory.
FAQ
Microsoft has released an update for Microsoft Office for Mac 2011 and Microsoft Office for Mac 2016 as a defense-in-depth measure.
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 a memory handling error in how Microsoft Office processes objects in a file, though the text does not state the specific mistake.
Impact
An attacker could perform actions in the security context of the current user, but only if the user opens a specially crafted file; the text notes an attacker cannot force a user to visit a website.
What the attacker needed
Victim opens a crafted file; affected Microsoft Office version
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.
This is a flaw in Microsoft Office that lets a malicious document run code on your computer when you open it. The code runs with the same permissions as you, so it can do anything you could do. The danger is that the attacker needs you to open the file, so it often arrives as an email attachment or a link.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.