Skip to content
Access control Advisory Advanced CVE-2022-21978

Microsoft Exchange Server Elevation of Privilege Vulnerability (CVE-2022-21978)

An elevation of privilege flaw existed in Microsoft Exchange Server that let an authenticated member of a highly privileged group gain Domain Administrator rights. This allowed access and control beyond the expected scope of the targeted functionality.

Joonas Tuomisto Follow

Originally disclosed on Microsoft

High 8.2 View original

FAQ

Do I need to take further steps to be protected from this vulnerability? Because of additional security hardening work for CVE-2022-21978, the following actions should be taken in addition to application of May 2022 security updates: For customers that have Exchange Server 2016 CU22 or CU23, or Exchange Server 2019 CU11 or CU12 installed Install the May 2022 SU first and then run one of the following commands using Setup.exe in your Exchange Server installation path (e.g., …\Program Files\Microsoft\Exchange Server\v15\Bin): Setup.exe /IAcceptExchangeServerLicenseTerms_DiagnosticDataON /PrepareAllDomains Setup.exe /IAcceptExchangeServerLicenseTerms_DiagnosticDataOFF /PrepareAllDomains For customers that have Exchange Server 2013 CU23 installed: Install the May 2022 SU first and then run the following command using Setup.exe in your Exchange Server installation path (e.g., …\Program Files\Microsoft\Exchange Server\v15\Bin): Setup.exe /IAcceptExchangeServerLicenseTerms /PrepareAllDomains For customers that have any older version of Exchange Server not listed above: Update your Exchange server to the latest CU, install May 2022 SU and then follow the steps above. NOTE: You need to run /PrepareAllDomains only once per organization and those changes will apply to all versions of Exchange Server within the organization. When you run /PrepareAllDomains, your account needs to be a member of the Enterprise Admins security group. This might be a different account from the one you use to install the SU. Please see New Exchange Server Security Update and Hotfix Packaging for more information

FAQ

According to the CVSS metric, privileges required is high (PR:H). What privileges does an attacker require to exploit this vulnerability? Successful exploitation of this vulnerability requires the attacker to be authenticated to the Exchange Server as a member of a high privileged group.

FAQ

According to the CVSS metric, a successful exploitation could lead to a scope change (S:C). What does this mean for this vulnerability? In this case, an attacker with elevated privileges on the Exchange server could gain the rights of a Domain Administrator. This could allow access and controls outside of the expected scope of the targeted functionality.

Microsoft Exchange Server

Microsoft Exchange Server

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Joonas Tuomisto of Fujitsu Finland. 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 insufficient privilege separation between Exchange server roles and Active Directory domain administration, which the vendor addressed with extra hardening steps.

Impact

An attacker with elevated Exchange privileges could gain Domain Administrator rights, giving access and control outside the expected scope of the targeted functionality.

What the attacker needed

Authenticated to Exchange Server; member of a high privileged group

The fix

It was fixed by applying the May 2022 security updates and then running the PrepareAllDomains setup command once per organisation.

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.

Exchange Server is Microsoft's email server. This flaw meant someone who already had a powerful account on that server could escalate to an even more powerful one, the Domain Administrator, which controls the whole Windows network. The attacker had to be logged in already, so it was not open to just anyone.

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 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.