Microsoft Office Remote Code Execution Vulnerability (CVE-2017-8744)
Microsoft Office failed to properly handle objects in memory, which allowed a specially crafted file to run code in the security context of the logged-on user. An attacker could convince a user to open such a file and then act with that user's permissions.
Originally disclosed on Microsoft
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.
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 flaw in how Microsoft Office processes objects in a crafted file, though the text does not describe the specific coding mistake.
Impact
An attacker could run code with the same permissions as the logged-on user, but only if the user opens the crafted file; the text notes an attacker cannot force a user to visit a website or open a file.
What the attacker needed
Affected Microsoft Office version; victim opens a crafted file
How it was found
- Receive or find a specially crafted Office file.
- Open the file with an affected version of Microsoft Office.
- The file performs actions in the security context of the current user.
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 program that opens documents was making a mistake when it loaded certain files into its working memory. Because of that mistake, a booby-trapped document could make the program run the attacker's instructions as if the logged-in user had asked for them. The user has to open the file, so the attacker relies on tricking them into doing so.
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.