Skip to content
Memory corruption Advisory Advanced CVE-2018-8539

Microsoft Word Remote Code Execution Vulnerability (CVE-2018-8539)

Microsoft Word failed to properly handle objects in memory when opening a specially crafted file. An attacker could convince a user to open such a file and then perform actions with the same permissions as that user.

Yangkang Follow

Originally disclosed on Microsoft

Description

A remote code execution vulnerability exists in Microsoft Word 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 Word 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 Word handles files in memory.

Microsoft Office

Microsoft Office

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Yangkang of 360CoreSec. 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 corruption flaw in how Microsoft Word handles objects in memory when parsing a crafted file.

Impact

An attacker could perform actions in the security context of the current user, with the same permissions as that user.

What the attacker needed

Victim opens a crafted file; affected version of Microsoft Word

The fix

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

How it was found

  1. Create a specially crafted file designed to exploit the vulnerability.
  2. Send the file to the victim or host it on a website.
  3. Convince the victim to open the file with an affected version of Microsoft Word.

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 memory handling mistake in Microsoft Word means a malicious document can make the program misbehave in a way that lets the attacker run their own commands. The attacker has to trick the victim into opening the document, for example through an email attachment or a link. If it works, the attacker's code runs with the same rights as the person who opened the file.

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 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.