SecPod

Learn Search

Search across all Learn content

← Back to Security Research
New Microsoft Exchange Server Vulnerability Allows Privilege Escalation to Admin

New Microsoft Exchange Server Vulnerability Allows Privilege Escalation to Admin

A significant security flaw, CVE-2025-53786, has been discovered in Microsoft Exchange Server hybrid environments. This flaw could enable attackers with on-premises administrative privileges to escalate their access within connected cloud systems. Publicly disclosed on August 6, 2025, the vulnerabil...

Aug 6, 2025By Rakshitha5 min read

A significant security flaw, CVE-2025-53786, has been discovered in Microsoft Exchange Server hybrid environments. This flaw could enable attackers with on-premises administrative privileges to escalate their access within connected cloud systems. Publicly disclosed on August 6, 2025, the vulnerability poses a considerable threat to organizations utilizing hybrid Exchange setups. Microsoft and the Cybersecurity and Infrastructure Security Agency (CISA) have emphasized the critical nature of this issue and strongly recommend immediate mitigation efforts.

Vulnerability Details

The vulnerability tracked as CVE-2025-53786 affects Microsoft Exchange Server hybrid deployments and stems from the architecture’s reliance on a shared service principal for authentication between on-premises Exchange servers and Exchange Online. This flawed design allows attackers with administrative access on-premises to exploit special access tokens for server communication with Microsoft 365. These tokens, once compromised, cannot be revoked and remain valid for 24 hours, enabling privilege escalation within the connected cloud environment without easily detectable traces. The core issue lies in the irrevocable nature of these tokens, creating a critical window of opportunity for attackers to modify permissions, impersonate users, and maintain persistent access. Although the attack requires a high level of complexity, including initial admin-level access, the potential scope and stealth of the exploit make this vulnerability a severe threat to organizations with hybrid Exchange configurations.

Affected Products & Platforms

The following Microsoft Exchange Server versions are affected by this vulnerability:

  • Microsoft Exchange Server 2019 Cumulative Update 15 (15.02.1748.024)
  • Microsoft Exchange Server 2019 Cumulative Update 14 (15.02.1544.025)
  • Microsoft Exchange Server 2016 Cumulative Update 23 (15.01.2507.055)
  • Microsoft Exchange Server Subscription Edition RTM (15.02.2562.017)
  • Exchange Online

Infection Method

1. Attacker Gains On-Premises Administrative Access

  • The attacker must first compromise or possess administrator-level access to an on-premises Microsoft Exchange Server.
  • This can be achieved through other means (e.g., phishing, lateral movement, or exploiting Exchange vulnerabilities).

2. Identify Hybrid Deployment Configuration

  • The attacker verifies that the target organization uses a hybrid Exchange deployment-i.e., integration between on-premises Exchange and Exchange Online (Microsoft 365).
  • These deployments historically rely on a shared service principal for authenticating and syncing identities between environments.

3. Exploit the Shared Service Principal

  • The attacker exploits the legacy authentication design where both on-premises and cloud environments share the same service principal.
  • This shared trust boundary is the core weakness being exploited.

4. Abuse Special Access Tokens

  • The attacker acquires special access tokens that the hybrid Exchange setup uses to communicate with Microsoft 365 (Exchange Online).
  • These tokens are:
    • Valid for up to 24 hours
    • Irrevocable once issued – meaning defenders cannot revoke or invalidate them, giving attackers a time window of persistent access.

5. Escalate Privileges in Exchange Online

  • With the stolen access token, the attacker:
    • Modifies user passwords in Exchange Online
    • Converts cloud-only users to hybrid users
    • Impersonates hybrid users
  • These actions allow the attacker to compromise cloud-based mailboxes and identities fully.

6. Maintain Undetected Access

  • Due to the nature of token-based authentication:
    • No standard revocation mechanism exists.
    • Attackers can operate without triggering typical detection mechanisms like password changes or login alerts.
    • This makes the exploitation stealthy and hard to detect in cloud audit logs.

7. Result: Full Cloud Privilege Escalation

  • The attacker now has elevated access within the Microsoft 365 cloud environment, potentially affecting:
    • Email systems
    • User identities
    • Cloud configurations

Tactics, Techniques, and Procedures (TTPs)

Attackers can exploit this vulnerability to perform actions such as modifying user passwords, converting cloud users to hybrid users, and impersonating hybrid users. This aligns with the following tactics and techniques from the MITRE ATT&CK framework:

  • TA0004 – Privilege Escalation: Exploiting the vulnerability allows attackers to gain elevated permissions within the Exchange environment.
  • TA0006 – Credential Access: Attackers can potentially access and manipulate user credentials, leading to unauthorized access.
  • T1078—Valid Accounts: Attackers can move laterally and escalate privileges by leveraging valid accounts and exploiting the hybrid configuration.
  • T1068 – Exploitation of Privilege Escalation: This specific technique describes the leveraging of vulnerabilities to gain higher-level permissions.

Mitigation & Recommendations

To address this vulnerability, organizations are advised to take the following steps:

  • Install Microsoft’s April 2025 Exchange Server Hotfix Updates on on-premise Exchange servers.
  • Follow Microsoft’s configuration instructions for deploying dedicated Exchange hybrid apps.
  • Review Microsoft’s Service Principal Clean-Up Mode guidance for resetting service principal key credentials.
  • Run the Microsoft Exchange Health Checker to determine if additional steps are required.
  • 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.
  • Microsoft plans to enforce mandatory separation of Exchange on-premises and Exchange Online service principals by October 2025. This includes temporarily blocking Exchange Web Services (EWS) traffic using the shared service principal starting August 2025 to encourage adoption of the dedicated hybrid app. After October 31, 2025, the use of the shared service principal will be permanently blocked.
  • It is also highly recommended that entities disconnect public-facing versions of Exchange Server or SharePoint Server that have reached their end-of-life (EOL) or end-of-service from the internet.

Microsoft had already begun addressing this vulnerability with security changes announced on April 18, 2025, by transitioning from shared service principals to dedicated Exchange hybrid applications. This change aims to eliminate the security boundary issues that made the vulnerability possible.

Instantly Fix Risks with Saner Patch Management

Saner patch management is a continuous, automated, and integrated software that instantly fixes risks exploited in the wild. The software supports major operating systems like Windows, Linux, and macOS, as well as 550+ third-party applications.

It also allows you to set up a safe testing area to test patches before deploying them in a primary production environment. Saner patch management additionally supports a patch rollback feature in case of patch failure or a system malfunction.

Experience the fastest and most accurate patching software here.

Featured Posts

Open November 2026 Linux Security Updates for Debian, Fedora, Red Hat and Ubuntu: Critical Browser, .NET and Enterprise Infrastructure Vulnerabilities
November 2026 Linux Security Updates for Debian, Fedora, Red Hat and Ubuntu: Critical Browser, .NET and Enterprise Infrastructure Vulnerabilities

CVE Research

November 2026 Linux Security Updates for Debian, Fedora, Red Hat and Ubuntu: Critical Browser, .NET and Enterprise Infrastructure Vulnerabilities

Nov 27, 2026

Open Drupal Installer Flaw Under Attack: Site Takeover Risk Persists
vulnerability researchDrupal Installer Flaw Under Attack: Site Takeover Risk Persists

CVE Research

Drupal Installer Flaw Under Attack: Site Takeover Risk Persists

CVE-2026-136716 is a highly critical Drupal core installer access-bypass vulnerability that is under active exploitation. An unauthenticated attacker can take over sites left in unusual or incomplete installation states, including some production sites. The earlier fix for CVE-2026-132165 does not cover every affected state. Fixed releases are Drupal Core 11.4.14, 11.3.23, and 10.6.23. This article covers how the flaw works, its relationship to the prior installer issue, impact, and remediation steps.

Nov 27, 2026

Open GT13 Campaign Targets 22 Organizations Through Check Point Security Management Server Exploitation
GT13 Campaign Targets 22 Organizations Through Check Point Security Management Server Exploitation

CVE Research

GT13 Campaign Targets 22 Organizations Through Check Point Security Management Server Exploitation

The GT13 campaign targeted at least 22 organizations worldwide by exploiting vulnerabilities in exposed services and Check Point Security Management Servers. The attackers used forged authentication sessions, SSH-based persistence, internal reconnaissance, lateral movement, and data exfiltration techniques to compromise systems and access sensitive information.

Nov 26, 2026

Open GeoServer Flaws Under Attack: Inside the Exploit Chain to Remote Code Execution
vulnerability researchGeoServer Flaws Under Attack: Inside the Exploit Chain to Remote Code Execution

CVE Research

GeoServer Flaws Under Attack: Inside the Exploit Chain to Remote Code Execution

Six vulnerabilities in GeoServer’s November 2026 security update can expose sensitive files, bypass service authorization, and enable administrator impersonation. Several of these flaws can be chained for unauthenticated remote code execution with the permissions of the GeoServer process. CVE-2026-120705 and CVE-2026-129243 have been reported as exploited. Fixed releases include GeoServer 3.0.2, 2.28.6, and 2.27.7. This article covers the flaws, the public five-CVE chain, impact, affected versions, and remediation guidance.

Nov 26, 2026