Microsoft Excel Remote Code Execution Vulnerability (CVE-2020-1225)
Microsoft Excel failed to properly handle objects in memory, which created a remote code execution flaw. An attacker who convinced a user to open a specially crafted file could run arbitrary code with that user's rights.
Discovered by Marcin 'Icewall' Noga of Cisco Talos Follow
Originally disclosed on Microsoft
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.
FAQ
Are the updates for the Microsoft Office for Mac currently available? The security update for Microsoft Office 2016 for Mac and Microsoft Office 2019 for Mac 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.
Microsoft Office
Microsoft Office
Microsoft
Microsoft
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 inside a crafted spreadsheet, though the text does not name the specific flaw.
Impact
An attacker could run arbitrary code as the current user, and with administrative rights could take control of the system, though users with fewer rights could be less impacted; the Preview Pane is not an attack vector.
What the attacker needed
Victim opens a crafted file; affected Excel version
How it was found
- An attacker creates a specially crafted Excel file.
- The attacker sends the file by email or hosts it on a website.
- The attacker persuades the user to open the file.
- Excel processes the file and the attacker's code runs as 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.
Excel made a mistake when handling certain data held in the computer's working memory, and that mistake let a malicious file run its own instructions. If the person who opened the file has administrator rights, the attacker could take over the whole machine. The victim has to open a crafted file, for example one sent by email.
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.