Skip to content
RCE Advisory Intermediate CVE-2017-0260

Microsoft Office Remote Code Execution Vulnerability (CVE-2017-0260)

Microsoft Office did not properly validate input before loading DLL files, so a crafted Office document could cause a malicious DLL to be loaded. An attacker who convinced a user to open such a document could take control of the system with the user's rights.

Arun Kumar Sharma Follow with Individual

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

This security update is for the Click-to-Run (C2R) version only . For more information and the current Click-to-Run version number, see Office 365 client update channel releases . I am being offered this update for software that is not specifically indicated as being affected in the Affected Products table. Why am I being offered this update? When updates address vulnerable code that exists in a component that is shared between multiple Microsoft Office products or shared between multiple versions of the same Microsoft Office product, the update is considered to be applicable to all supported products and versions that contain the vulnerable component. For example, when an update applies to Microsoft Office 2007 products, only Microsoft Office 2007 may be specifically listed in the Affected Products table. However, the update could apply to Microsoft Word 2007, Microsoft Excel 2007, Microsoft Visio 2007, Microsoft Compatibility Pack, Microsoft Excel Viewer, or any other Microsoft Office 2007 product that is not specifically listed in the Affected Products table. Furthermore, when an update applies to Microsoft Office 2010 products, only Microsoft Office 2010 may be specifically listed in the Affected Products table. However, the update could apply to Microsoft Word 2010, Microsoft Excel 2010, Microsoft Visio 2010, Microsoft Visio Viewer, or any other Microsoft Office 2010 product that is not specifically listed in the Affected Products table. For more information on this behavior and recommended actions, see Microsoft Knowledge Base Article 830335 . For a list of Microsoft Office products that an update may apply to, refer to the Microsoft Knowledge Base Article associated with the specific update.

Microsoft Office

Microsoft Office

The original report as published on the Microsoft Security Response Center, by Arun Kumar Sharma. 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 failed to validate the input that determines which DLL file to load, allowing an attacker to influence the DLL path.

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; affected Click-to-Run Office version

How it was found

  1. An attacker creates a specially crafted Office document.
  2. The attacker convinces a user to open the document.
  3. Office loads a DLL without proper validation, running attacker 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 programs load to get extra code. Office was loading a DLL without checking where it came from, so a booby-trapped document could make Office load an attacker's DLL. If the user opened the document, the attacker's code would run with that user's permissions.

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 Arun Kumar Sharma

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.