Skip to content
RCE Advisory Advanced CVE-2020-1218

Microsoft Word Remote Code Execution Vulnerability (CVE-2020-1218)

Microsoft Word failed to properly handle objects in memory, which could allow a specially crafted file to run code in the security context of the logged-on user. An attacker could exploit this by convincing a user to open a malicious file, for example via email or a link to a website hosting it.

Haifei Li Follow

Originally disclosed on Microsoft

High 7.8 View original

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.

FAQ

Is the Preview Pane an attack vector for this vulnerability? No, the Preview Pane is not an attack vector.

FAQ

Are the updates for the Microsoft Office for Mac currently available? The security update for Microsoft Office 2016 for Mac and Microsoft Office 2019 for Mac are not immediately available. The updates will be released as soon as possible, and when they are available, customers will be notified via a revision to this CVE information.

Microsoft Office

Microsoft Office

Microsoft

Microsoft

The original report as published on the Microsoft Security Response Center, by Haifei Li of McAfee IPS Security Research Team. 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 flaw in Microsoft Word when processing objects in a crafted file, though the text does not state the specific coding mistake.

Impact

An attacker could perform actions in the security context of the current user, but only if the user opens a specially crafted file; the Preview Pane is not an attack vector.

What the attacker needed

Victim opens a crafted file; 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.

Word has a bug in how it processes certain data in memory, and a booby-trapped document can abuse that bug. If a person opens the document, the attacker's code can run with that person's own permissions on their computer. The attacker cannot do this alone; they need the victim to open the file.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Haifei Li

View all

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

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.