Skip to content
Access control Advisory Advanced CVE-2019-0686

Microsoft Exchange Server Elevation of Privilege Vulnerability (CVE-2019-0686)

An elevation of privilege vulnerability in Microsoft Exchange Server allowed an attacker who performed a man-in-the-middle attack to impersonate another Exchange user and access their mailbox. Exploitation required Exchange Web Services and Push Notifications to be enabled.

n1nty Follow

Originally disclosed on Microsoft

Description

An elevation of privilege vulnerability exists in Microsoft Exchange Server. An attacker who successfully exploited this vulnerability could gain the same rights as any other user of the Exchange server. This could allow the attacker to perform activities such as accessing the mailboxes of other users. Exploitation of this vulnerability requires Exchange Web Services (EWS) and Push Notifications to be enabled and in use in an affected environment. To exploit the vulnerability, an attacker would need to execute a man-in-the-middle attack to forward an authentication request to a Microsoft Exchange Server, thereby allowing impersonation of another Exchange user. To address this vulnerability, Microsoft has changed the notifications contract established between EWS clients and Exchange Servers to not allow authenticated notifications to be streamed by the server. Instead, these notifications will be streamed using anonymous authentication mechanisms.

FAQ

Is this update related to Microsoft Security Advisory ADV190007? The update associated with CVE-2019-0686 and CVE-2019-0724 resolve the vulnerability discussed in Microsoft Security Advisory ADV190007 . Customers who have implemented the workaround listed in the Security Advisory are encouraged to remove it after applying this update to fully restore previous functionality.

Microsoft Exchange Server

Microsoft Exchange Server

The original report as published on the Microsoft Security Response Center, by n1nty and pr0mise @ 360 A-TEAM. 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 the Exchange server streamed authenticated push notifications to clients without properly verifying the recipient, allowing an attacker who forwarded an authentication request to impersonate another user.

Impact

An attacker could gain the same rights as any other Exchange user, potentially accessing other users' mailboxes, but only if EWS and Push Notifications are enabled and the attacker can perform a man-in-the-middle attack.

What the attacker needed

Exchange Web Services enabled; Push Notifications enabled; attacker can perform man-in-the-middle

The fix

Microsoft changed the notifications contract so that authenticated notifications are no longer streamed; instead, they use anonymous authentication mechanisms.

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, an email server. An attacker who can intercept network traffic (a man-in-the-middle) could trick the server into letting them act as another user, giving access to that person's mailbox. The fix changes how notifications are sent so that they no longer use authenticated connections.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by n1nty

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.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.