Microsoft Office Remote Code Execution Vulnerability (CVE-2024-20677)
A vulnerability in the FBX file format handling within Microsoft Office could allow an attacker to achieve arbitrary code execution on a victim's machine. An attacker could convince a victim to open a specially crafted file, leading to a local attack that compromises confidentiality, integrity and availability.
Originally disclosed on Microsoft
Description
A security vulnerability exists in FBX that could lead to remote code execution. To mitigate this vulnerability, the ability to insert FBX files has been disabled in Word, Excel, PowerPoint and Outlook for Windows and Mac. Versions of Office that had this feature enabled will no longer have access to it. This includes Office 2019, Office 2021, Office LTSC for Mac 2021, and Microsoft 365. As of February 13, 2024, the ability to insert FBX files has also been disabled in 3D Viewer. 3D models in Office documents that were previously inserted from a FBX file will continue to work as expected unless the Link to File option was chosen at insert time. This change is effective as of the January 9, 2024 security update.
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. For example, when the score indicates that the Attack Vector is Local and User Interaction is Required , this could describe an exploit in which an attacker, through social engineering, convinces a victim to download and open a specially crafted file from a website which leads to a local attack on their computer.
FAQ
According to the CVSS metric, successful exploitation of this vulnerability could lead to total loss of confidentiality (C:H), integrity (I:H), and availability (A:H). What does that mean for this vulnerability? An attacker who successfully exploits this vulnerability could perform a remote attack that could enable access to the victim's information and the ability to alter information. Successful exploitation could also potentially cause downtime for the targeted environment.
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 2021 for Mac currently available? The security update for Microsoft Office 2021 for Mac is not immediately available. The update will be released as soon as possible, and when it is available, customers will be notified via a revision to this CVE information.
FAQ
How do I get the updated app? The Microsoft Store will automatically update affected customers. Alternatively, customers can get the update immediately; see here for details. It is possible for customers to disable automatic updates for the Microsoft Store. The Microsoft Store will not automatically install this update for those customers. Customers using the Microsoft Store for Business and Microsoft Store for Education can get this update through their organizations. How can I check if the update is installed? App package versions 7.2401.29012.0 and later contain this update. You can check the package version in PowerShell: Get-AppxPackage -Name Microsoft.Microsoft3DViewer
FAQ
Where can I find more information? Please see the Microsoft Support Blog Post relating to the disablement of the ability to insert FBX (.fbx files) here: https://prod.support.services.microsoft.com/en-us/topic/9f2387f1-84ec-496a-a288-2c6f774db219
FAQ
Where can I find more information regarding 3D Viewer? Please see the Microsoft Support Blog Post relating to the disablement of the ability to insert FBX (.fbx files) in 3D Viewer here: https://prod.support.services.microsoft.com/en-us/windows/support-for-fbx-files-has-been-turned-off-in-3d-viewer-b7483e83-422c-4d65-b94d-853eb65cb134 .
Microsoft Office
Microsoft Office
Microsoft
Microsoft
Customer Action Required
Yes
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 flaw in the code that parses FBX 3D model files, which Microsoft addressed by disabling the feature rather than patching the parser.
Impact
Successful exploitation could let an attacker access and alter the victim's information and potentially cause downtime, though the attack requires the victim to open a crafted file and the Preview Pane is not a vector.
What the attacker needed
Victim opens a crafted FBX file; user interaction required; affected Office or 3D Viewer version
The fix
Microsoft mitigated the issue by disabling the ability to insert FBX files in Office applications and 3D Viewer through security updates.
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.
FBX is a file format used for 3D models, and Microsoft Office could open these files. A flaw in how Office handled them meant that a booby-trapped file could run harmful code on your computer when opened. Microsoft's response was to simply switch off the ability to insert FBX files in Office and 3D Viewer.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.