Skip to content
Memory corruption Advisory Advanced CVE-2017-0262

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

A remote code execution vulnerability exists in Microsoft Office when a user opens or inserts a malformed graphics image, such as a specially crafted EPS file. An attacker could exploit this to take control of the affected system, but only if the user opens a malicious file or visits a malicious website.

Thomas Dupuy Follow

Originally disclosed on Microsoft

Description

A remote code execution vulnerability exists in Microsoft Office that could be exploited when a user opens a file containing a malformed graphics image or when a user inserts a malformed graphics image into an Office file. Such a file could also be included in an email attachment. An attacker could exploit the vulnerability by constructing a specially crafted EPS file that could allow remote code execution. An attacker who successfully exploited this vulnerability could take control of the affected system. This vulnerability could not be exploited automatically through a Web-based attack scenario. An attacker could host a specially crafted website containing an Office file that is designed to exploit the vulnerability, and then convince a user to view the website. The attacker could also take advantage of compromised websites and websites that accept or host user-provided content or advertisements by adding specially crafted content that could exploit the vulnerability. In all cases, however, an attacker would have no way to force users to view the attacker-controlled content. Instead, an attacker would have to convince users to take action, typically by getting them to click a link in an instant messenger or email message that takes users to the attacker's website, or by getting them to open an attachment sent through email. Workstations and terminal servers that have Microsoft Office installed are primarily at risk. Servers could be at more risk if administrators allow users to log on to servers and to run programs. However, best practices strongly discourage allowing this. When this fix is published, Microsoft had received reports of limited targeted attacks using this vulnerability.

Microsoft Office

Microsoft Office

The original report as published on the Microsoft Security Response Center, by Thomas Dupuy and Jessy Campos of ESET. 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 corruption issue in how Office parses malformed graphics images, specifically EPS files.

Impact

An attacker who successfully exploited this vulnerability could take control of the affected system, but the exploit requires user interaction and cannot be triggered automatically.

What the attacker needed

User opens a malicious file; or user visits a malicious website

The fix

Microsoft published a fix for this vulnerability.

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.

This is a flaw in Microsoft Office that lets an attacker run their own code on your computer if you open a specially made image file. The attacker has to trick you into opening the file or visiting a website, so you should be careful with unexpected attachments or links.

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.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.