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

Microsoft Publisher Remote Code Execution Vulnerability (CVE-2017-8725)

Microsoft Publisher failed to properly handle objects in memory when opening a specially crafted file. An attacker could convince a user to open such a file, leading to code execution with the user's privileges.

Phil Blankenship Follow

Originally disclosed on Microsoft

Description

A remote code execution vulnerability exists in Microsoft Publisher software when it fails to properly handle objects in memory. An attacker who successfully exploited the vulnerability could use a specially crafted file to perform actions in the security context of the current user. For example, the file could then take actions on behalf of the logged-on user with the same permissions as the current user. To exploit the vulnerability, a user must open a specially crafted file with an affected version of Microsoft Office software. 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) that contains a specially crafted file that is designed to exploit the vulnerability. However, an attacker would have no way to force the user to visit the website. Instead, an attacker would have to convince the user to click a link, typically by way of an enticement in an email or Instant Messenger message, and then convince the user to open the specially crafted file. The security update addresses the vulnerability by correcting how Microsoft Publisher handles files in memory.

Microsoft Office

Microsoft Office

The original report as published on the Microsoft Security Response Center, by Phil Blankenship. 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 caused by incorrect handling of objects in memory when parsing a crafted Publisher file.

Impact

An attacker could perform actions in the security context of the current user, potentially taking control of the affected system, but only if the user opens a specially crafted file.

What the attacker needed

Victim opens a crafted file; affected Microsoft Office version

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 Publisher, a program for making publications. If a victim opens a malicious file, the attacker's code can run on the victim's computer with the same rights as the victim. The attacker must trick the victim into opening the file, for example by sending it as an email attachment.

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.