Microsoft Office Memory Corruption Vulnerability (CVE-2017-0019)
Microsoft Office failed to properly handle objects in memory, which allowed an attacker to run arbitrary code as the current user. A victim had to open a specially crafted file, and in some products simply viewing it in the Preview Pane was enough.
Originally disclosed on Microsoft
Description
A remote code execution vulnerability exists in Microsoft Office software when the Office software fails to properly handle objects in memory. An attacker who successfully exploited the vulnerability could run arbitrary code in the context of the current user. If the current 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. Exploitation of the vulnerability requires that a user 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 designed to exploit the vulnerability. An attacker would have no way to force users to visit the website. Instead, an attacker would have to convince users to click a link, typically by way of an enticement in an email or instant message, and then convince them to open the specially crafted file. Note that where severity is indicated as Critical in the Affected Products table, the Preview Pane is an attack vector. The security update addresses the vulnerability by correcting how Office handles objects in memory.
Microsoft Office
Microsoft Office
Microsoft
Microsoft
Customer Action Required
Yes
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 Office parses objects inside a document, such as a buffer or object lifetime error, though the text does not name the specific coding mistake.
Impact
An attacker could run arbitrary code as the current user, and could take full control of the system if that user had administrative rights; the text notes that users with fewer rights could be less impacted.
What the attacker needed
Victim opens a crafted file; or previews it in the Preview Pane; affected 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.
Some versions of Microsoft Office mishandled data held in the computer's working memory, and that mistake let an attacker slip their own instructions into the program. If the person using Office had administrator rights, the attacker could then do almost anything on that machine. The victim had to open a malicious document, or in some cases just preview it.
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.