Skip to content
Memory corruption Advisory Advanced CVE-2017-11854

Microsoft Office Remote Code Execution Vulnerability (CVE-2017-11854)

Microsoft Office failed to properly handle objects in memory, which created a remote code execution flaw. An attacker could run arbitrary code as the current user if that user opened a specially crafted file.

Wayne Low Follow

Originally disclosed on Microsoft

Description

A remote code execution vulnerability exists in Microsoft Office software when the 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. 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) containing 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. The security update addresses the vulnerability by correcting how Microsoft Office handles objects in memory.

Microsoft Office

Microsoft Office

The original report as published on the Microsoft Security Response Center, by Wayne Low ( @x9090 ) of Fortinet’s FortiGuard Lab. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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 Microsoft Office when processing objects in 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 could take control of the system if that user has administrative rights; users with fewer rights could be less impacted.

What the attacker needed

Victim opens a crafted file; affected version of Microsoft Office

The fix

The vulnerability was fixed by a security update that corrects how Microsoft Office handles objects in memory.

How it was found

  1. An attacker creates a specially crafted file that targets the memory handling flaw.
  2. The attacker sends the file to the user by email or hosts it on a website.
  3. The attacker convinces the user to open the file.
  4. The malicious code runs in the 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.

This is a flaw in Microsoft Office where the program mishandles data in its memory. If a person opens a malicious document, the attacker's code can run on that person's computer with the same permissions that person has. The attacker still needs to trick someone into opening the file, for example through an email attachment or a link.

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.

More by Wayne Low

View all

2 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.