Microsoft Exchange Server Hybrid Deployment Elevation of Privilege Vulnerability (CVE-2025-53786)
In an Exchange hybrid deployment, the on-premises Exchange Server and Exchange Online share the same service principal, so an attacker who already holds administrator access on an on-premises server could escalate privileges in the connected cloud environment without leaving easily detectable audit traces. Microsoft documents this as CVE-2025-53786 and addresses it through configuration changes and a hot fix.
Originally disclosed on Microsoft
Description
On April 18th 2025, Microsoft announced Exchange Server Security Changes for Hybrid Deployments and accompanying non-security Hot Fix . Microsoft made these changes in the general interest of improving the security of hybrid Exchange deployments. Following further investigation, Microsoft identified specific security implications tied to the guidance and configuration steps outlined in the April announcement. Microsoft is issuing CVE-2025-53786 to document a vulnerability that is addressed by taking the steps documented with the April 18th announcement. Microsoft strongly recommends reading the information, installing the April 2025 (or later) Hot Fix and implementing the changes in your Exchange Server and hybrid environment.
FAQ
What privileges could be gained by an attacker who successfully exploited the vulnerability within the organization’s cloud environment? In an Exchange hybrid deployment, an attacker who first gains administrative access to an on-premises Exchange server could potentially escalate privileges within the organization’s connected cloud environment without leaving easily detectable and auditable trace. This risk arises because Exchange Server and Exchange Online share the same service principal in hybrid configurations.
FAQ
According to the CVSS metric, successful exploitation could lead to a scope change (S:C). What does this mean for this vulnerability? In this scenario, successfully exploiting the vulnerability could enable an attacker to escalate privileges within the organization’s connected cloud environment without leaving easily detectable and auditable traces.
FAQ
According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability? Successful exploitation of this vulnerability requires an attacker to first gain or possess administrator access on an Exchange Server.
FAQ
Microsoft Exchange Server Subscription Edition RTM didn't exist in April when the hot fix was released. Why is it listed in the Security Updates Table? Support for the dedicated Exchange hybrid app feature is already part of the initial release of the Exchange Server SE version. If you have already migrated to the newest version you already have this level of protection from the vulnerability. All you need to do is to follow the steps as outlined in the documentation to enable the feature and clear the certificates from the shared service principals keyCredentials.
FAQ
Is there new information that I should be aware of? Yes, please see this blog post for more information: MDVM Guidance for CVE-2025-53786: Exchange Hybrid Privilege Escalation What steps do I need to take to better protect my hybrid environment? If you're using Exchange hybrid, install the Hot Fix (or newer release) on your on-premises Exchange servers and follow the configuration instructions outlined in Deploy dedicated Exchange hybrid app . For additional details, refer to Exchange Server Security Changes for Hybrid Deployments . After completing the steps, be sure to reset the service principal's keyCredentials . If you’ve previously configured Exchange hybrid or OAuth authentication between Exchange Server and your Exchange Online organization but no longer use it, make sure to reset the service principal's keyCredentials .
Microsoft Exchange Server
Microsoft Exchange Server
Microsoft
Microsoft
Customer Action Required
Yes
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
Impact
An attacker with prior on-premises administrator access could escalate privileges in the connected cloud environment without leaving easily detectable and auditable traces.
What the attacker needed
Administrator access on an on-premises Exchange server; an Exchange hybrid deployment
The fix
It was fixed by installing the April 2025 or later hot fix, enabling the dedicated Exchange hybrid app, and resetting the service principal's keyCredentials.
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.
A service principal is an identity that software uses to log in to a cloud service, a bit like a shared account for an application. In a hybrid setup, the on-premises mail server and the cloud mail service use the same identity, so someone who controls the on-premises server can borrow that identity to act in the cloud. The catch is that the attacker must already be an administrator on the on-premises server before this helps them.
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.