Skip to content
Memory corruption Advisory Advanced CVE-2020-0991

Microsoft Office Remote Code Execution Vulnerability (CVE-2020-0991)

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 the victim opened a specially crafted file.

Bar Lahav 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. The security update addresses the vulnerability by correcting how Microsoft Office handles objects in memory.

FAQ

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

Microsoft Office

Microsoft Office

Issuing CNA

Microsoft

The original report as published on the Microsoft Security Response Center, by Bar Lahav and Gal De Leon of Palo Alto Networks. 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 how Microsoft Office processes objects inside a document, 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, install programs, view or change data, or create accounts; the Preview Pane is not an attack vector.

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.
  2. The attacker sends the file to the target user, for example by email.
  3. The attacker convinces the user to open the file in an affected version of Microsoft Office.
  4. The 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.

Some kinds of files are opened by programs that keep parts of the file in the computer's working memory. If the program mishandles that memory, a booby-trapped file can make the program run the attacker's instructions instead of just displaying the document. The attacker needs the victim to open the file, and the damage is limited to whatever rights that user 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.

More by Bar Lahav

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.

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.