Skip to content
RCE Advisory Intermediate CVE-2018-8245

Microsoft Publisher Remote Code Execution Vulnerability (CVE-2018-8245)

Microsoft Publisher failed to lock down the Local Machine zone when instantiating OLE objects, so a crafted Publisher document could execute arbitrary code in that zone. An attacker could send such a document to a victim, who would need to open it in Publisher to trigger the vulnerability.

Eduardo Braun Prado Follow

Originally disclosed on Microsoft

Description

A remote code execution vulnerability exists when Microsoft Publisher fails to utilize features that lock down the Local Machine zone when instantiating OLE objects. An attacker who successfully exploited the vulnerability could force arbitrary code to be executed in the Local Machine zone. To exploit the vulnerability, the attacker could send a specially crafted Publisher document to a victim. The user would then need to open the document in Publisher to trigger the vulnerability. This update addresses the vulnerability by ensuring that Publisher properly utilizes built-in OS functionality to lock down the Local Machine zone.

Microsoft Office

Microsoft Office

The original report as published on the Microsoft Security Response Center, by Eduardo Braun Prado working with iDefense Labs. 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, Publisher did not use built-in operating system protections to lock down the Local Machine zone when instantiating OLE objects.

Impact

An attacker could force arbitrary code to be executed in the Local Machine zone, but the victim must open the crafted document in Publisher.

What the attacker needed

Victim opens a crafted Publisher document

How it was found

  1. The attacker creates a specially crafted Publisher document.
  2. The attacker sends the document to a victim.
  3. The victim opens the document in Publisher, triggering the 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 Publisher, a desktop publishing program. When Publisher opened a document containing embedded objects (OLE objects), it did not properly restrict them to a safe area of the computer called the Local Machine zone. As a result, a malicious document could run harmful code on the victim's computer if they opened it.

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 Eduardo Braun Prado

View all

2 more disclosed reports, 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.