Skip to content
RCE Advisory Advanced CVE-2018-8265

Microsoft Exchange Remote Code Execution Vulnerability (CVE-2018-8265)

Microsoft Exchange parsed specially crafted email messages in a way that allowed remote code execution. An attacker who sent such an email and convinced the recipient to take several actions while replying could run arbitrary code as the system user.

Sabri Haddouche Follow

Originally disclosed on Microsoft

Description

A remote code execution vulnerability exists in the way Microsoft Exchange software parses specially crafted email messages. An attacker who successfully exploited the vulnerability could run arbitrary code in the context of the system user. An attacker could then install programs; view, change, add, or delete data. To exploit this vulnerability, an attacker would need to send a specially crafted email to an affected Exchange server, and then convince the recipient to perform multiple actions while replying to the message. The security update addresses the vulnerability by correcting how Microsoft Exchange parses specially crafted email messages.

Microsoft Exchange Server

Microsoft Exchange Server

The original report as published on the Microsoft Security Response Center, by Sabri Haddouche of Wire Swiss GmbH. 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, Exchange did not safely handle specially crafted email content during parsing, allowing attacker-controlled data to reach code execution.

Impact

An attacker could run arbitrary code as the system user and then install programs or view, change, add, or delete data, but exploitation required the recipient to take several actions while replying.

What the attacker needed

Affected Exchange server; attacker can send email to it; recipient replies and takes several actions

How it was found

  1. Send a specially crafted email to an affected Exchange server.
  2. Convince the recipient to perform multiple actions while replying to the message.

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 Exchange, the email server software many companies use. Because of how it read certain crafted emails, an attacker could make the server run their own commands, but only if a recipient also did several things while replying to the message. The vendor fixed it by changing how Exchange parses those emails.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

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.