Skip to content
RCE Advisory Advanced CVE-2020-16931

Microsoft Excel Remote Code Execution Vulnerability (CVE-2020-16931)

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

kdot Follow

Originally disclosed on Microsoft

High 7.8 View original

Description

A remote code execution vulnerability exists in Microsoft Excel 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 Excel. 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 Excel 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 kdot working with Trend Micro's Zero Day Initiative. 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 Excel when processing objects in a crafted file, though the text does not state the specific flaw.

Impact

An attacker could run arbitrary code as the current user, and could take control of the system if that user has administrative rights.

What the attacker needed

Victim opens a crafted file; affected Excel version

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.

Excel made a mistake when handling certain data in memory, and that mistake can let a malicious file run its own code on your computer. The attacker has to trick you into opening a crafted spreadsheet, usually by email or a link. If your account has admin rights, the attacker could do much more damage.

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 kdot

View all

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