Microsoft Office Memory Corruption Vulnerability (CVE-2016-3313)
Microsoft Office failed to handle objects in memory correctly, which created a memory corruption flaw. An attacker who convinced a user to open a specially crafted file could run arbitrary code with that user's rights.
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 the Preview Pane is not an attack vector for this vulnerability. The security update addresses the vulnerability by correcting how Office handles objects 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 corruption bug in how Office parses objects inside a document, though the text does not name the specific faulty code.
Impact
An attacker could run arbitrary code as the current user, and could take full control of the system if that user has administrative rights; the Preview Pane is not an attack vector.
What the attacker needed
Victim opens a crafted file; affected Office version
How it was found
- The attacker creates a specially crafted Office file.
- The attacker sends the file by email or hosts it on a website.
- The attacker persuades the user to open the file.
- Opening the file lets the attacker run code as the 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.
Some programs keep data in a working area called memory, and they must manage it carefully. Here Office made a mistake in that management, so a malicious document could make the program run the attacker's instructions. The victim has to open the file, and the attacker gains only the rights that the victim already has.
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.