Skip to content
RCE Advisory Advanced CVE-2023-36896

Microsoft Excel Remote Code Execution Vulnerability (CVE-2023-36896)

A flaw in Microsoft Excel allowed an attacker to run arbitrary code on a victim's machine if the victim opened a specially crafted file. The attacker had to deliver the file and persuade the user to open it, so the code ran locally rather than over the network.

Office Security Team and Excel Engineering Team Follow

Originally disclosed on Microsoft

High 7.8 View original

FAQ

Are the updates for the Microsoft Office for Mac currently available? The security update for Microsoft Office 2019 for Mac and Microsoft Office LTSC for Mac 2021 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.

FAQ

According to the CVSS metric, the attack vector is local (AV:L). Why does the CVE title indicate that this is a remote code execution? The word Remote in the title refers to the location of the attacker. This type of exploit is sometimes referred to as Arbitrary Code Execution (ACE). The attack itself is carried out locally. This means an attacker or victim needs to execute code from the local machine to exploit the vulnerability.

FAQ

According to the CVSS metric, user interaction is required (UI:R). What interaction would the user have to do? An attacker must send the user a malicious file and convince them to open it.

Microsoft Office Excel

Microsoft Office Excel

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Office Security Team and Excel Engineering 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-safety or parsing flaw in how Excel handles a crafted file, though the text does not describe the underlying mistake.

Impact

An attacker who convinced a user to open a malicious file could execute arbitrary code on that user's machine; the text notes the attack is local and needs user interaction.

What the attacker needed

Victim opens a malicious file; attacker delivers the file to the victim

The fix

Microsoft released security updates for affected Office products, with the Mac updates for Office 2019 and LTSC 2021 still pending at the time of writing.

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 is a spreadsheet program. This bug meant that a file built to abuse it could make the computer run the attacker's instructions, not just show a spreadsheet. The catch is that the victim had to open the file themselves, so the attacker first had to trick them into doing that.

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.