Skip to content
RCE Advisory Intermediate CVE-2021-31179

Microsoft Office Remote Code Execution Vulnerability (CVE-2021-31179)

A specially crafted file could be opened in Microsoft Office to trigger a remote code execution flaw. An attacker could convince a user to open such a file, delivered by email or hosted on a website, to run code on the victim's machine.

Sagi Tzadik Follow

Originally disclosed on Microsoft

High 7.8 View original

FAQ

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

FAQ

According to the CVSS metric, user interaction is required (UI:R). What interaction would the user have to do? Exploitation of the vulnerability requires that a user open a specially crafted file. 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.

Microsoft Office Excel

Microsoft Office Excel

Microsoft

Microsoft

The original report as published on the Microsoft Security Response Center, by Sagi Tzadik and Netanel Ben-Simon, Check Point Research. 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

Impact

An attacker who convinces a user to open a crafted file could run code on that user's system; the Preview Pane alone is not enough.

What the attacker needed

Victim opens a crafted file; attacker convinces user via email or link

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.

Remote code execution means an attacker can make the victim's computer run their own instructions, which is one of the most serious kinds of bug. Here the attacker has to trick someone into opening a malicious document, so the victim's own action is what starts the attack. The text does not explain the technical cause, only that opening the file is required.

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 Sagi Tzadik

View all

1 more disclosed report, 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.