Microsoft Office Memory Corruption Vulnerability (CVE-2016-7236)
Microsoft Office failed to properly handle objects in memory, which created a memory corruption vulnerability. 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.
FAQ
IMPORTANT: Please note that the security updates for Microsoft Office for Mac 2011 (3198807) and Microsoft Office 2016 for Mac (3198798) are not yet available. The updates will be released as soon as possible, and when they are available, customers will be notified via a revision to this bulletin. As of November 15, 2016, the 3198807 update is available for Microsoft Office for Mac 2011, and the 3198798 update is available for Microsoft Office 2016 for Mac. For more information, see Microsoft Knowledge Base Article 3198807 and Microsoft Knowledge Base Article 3198798 . I am being offered this update for software that is not specifically indicated as being affected in the Affected Software and Vulnerability Severity Ratings table. Why am I being offered this update? When updates address vulnerable code that exists in a component that is shared between multiple Microsoft Office products or shared between multiple versions of the same Microsoft Office product, the update is considered to be applicable to all supported products and versions that contain the vulnerable component. For example, when an update applies to Microsoft Office 2007 products, only Microsoft Office 2007 may be specifically listed in the Affected Software table. However, the update could apply to Microsoft Word 2007, Microsoft Excel 2007, Microsoft Visio 2007, Microsoft Compatibility Pack, Microsoft Excel Viewer, or any other Microsoft Office 2007 product that is not specifically listed in the Affected Software table. Furthermore, when an update applies to Microsoft Office 2010 products, only Microsoft Office 2010 may be specifically listed in the Affected Software table. However, the update could apply to Microsoft Word 2010, Microsoft Excel 2010, Microsoft Visio 2010, Microsoft Visio Viewer, or any other Microsoft Office 2010 product that is not specifically listed in the Affected Software table. For more information on this behavior and recommended actions, see Microsoft Knowledge Base Article 830335. For a list of Microsoft Office products that an update may apply to, refer to the Microsoft Knowledge Base Article associated with the specific update.
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 Office that corrupts memory when processing a crafted file, though the text does not name the specific coding mistake.
Impact
An attacker could run arbitrary code as the current user, and with administrative rights could take control of the system, though users with fewer rights would be less impacted; the Preview Pane is not an attack vector.
What the attacker needed
Victim opens a crafted file; affected Office version
How it was found
- Send the user a specially crafted file, or host it on a website.
- Convince the user to open the file.
- The crafted file triggers the memory corruption and runs 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.
Memory corruption means a program mishandles the memory it uses, so data can spill into places it should not. Here that flaw lets a malicious document run the attacker's own code on the victim's computer, but only after the victim opens the file. The attacker cannot do it alone and must trick the person into opening the document.
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.