Skip to content
RCE Advisory Intermediate CVE-2020-1458

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

Microsoft Office failed to properly validate input before loading DLL files, allowing an attacker to execute arbitrary code. An attacker who convinced a user to open a specially crafted Office document could take control of the affected system.

Dhiraj Follow

Originally disclosed on Microsoft

Description

A remote code execution vulnerability exists when Microsoft Office improperly validates input before loading dynamic link library (DLL) files. An attacker who successfully exploited this vulnerability could take control of an 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. To exploit the vulnerability, an attacker must first convince a user to open a specially crafted Office document. The updates address the vulnerability by correcting how Office validates input before loading DLL files.

FAQ

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

Microsoft Office

Microsoft Office

Microsoft

Microsoft

The original report as published on the Microsoft Security Response Center, by Dhiraj Mishra @RandomDhiraj. 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 Office did not properly validate input before loading DLL files, allowing a crafted document to cause an unsafe DLL to be loaded.

Impact

An attacker could take control of the affected system, install programs, view, change or delete data, or create new accounts with full user rights; users with fewer rights could be less impacted.

What the attacker needed

Victim opens a crafted Office document

How it was found

  1. Create a specially crafted Office document.
  2. Convince a user to open the document.
  3. Office loads a DLL without proper validation, running the attacker's code.

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 DLL is a file that contains code other programs can load and run. Office was loading such files without checking them properly, so a malicious document could make it load an attacker's code. The attacker then runs their own programs on the victim's computer, with the same rights as the victim.

What is RCE?

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

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.