Skip to main content
Uncategorized

May 2022 Exchange Server Security Updates

By March 26, 2024April 5th, 2024No Comments

Microsoft released several Security Updates (SUs) for Microsoft Exchange Server to address vulnerabilities. Due to the critical nature of these vulnerabilities, we recommend that customers apply the updates to affected systems immediately to protect the environment.

Note: These vulnerabilities affect Microsoft Exchange Server. Exchange Online is not affected.

Exchange Server Security Updates

Microsoft has released Security Updates for vulnerabilities found in:

  • Exchange Server 2013
  • Exchange Server 2016
  • Exchange Server 2019

These Security Updates are available for the following specific versions of Exchange:

  • Exchange Server 2013 (CU23)
  • Exchange Server 2016 (CU22CU23)
  • Exchange Server 2019 (CU11CU12)
  • Vulnerabilities addressed in the May 2022 Security Updates were responsibly reported by security partners and found through Microsoft’s internal processes. Although we are not aware of any active exploits in the wild, our recommendation is to install these updates immediately to protect your environment.

    Manual run of /PrepareAllDomains is required

    Because of additional security hardening work for CVE-2022-21978, the following actions should be taken after installing the May 2022 security updates:

    Latest version of Exchange Server installed in the organization Additional steps needed
    Exchange Server 2019 CU11 or CU12 Install the May 2022 SU first and then run the following Command Prompt command once using Setup.exe in your Exchange Server installation path (e.g., …\Program Files\Microsoft\Exchange Server\v15\Bin):

    Setup.exe /IAcceptExchangeServerLicenseTerms_DiagnosticDataOFF /PrepareAllDomains

    or

    Setup.exe /IAcceptExchangeServerLicenseTerms_DiagnosticDataOFF /PrepareDomain

    Exchange Server 2016 CU22 or CU23 Install the May 2022 SU first and then run the following Command Prompt command once using Setup.exe in your Exchange Server installation path (e.g., …\Program Files\Microsoft\Exchange Server\v15\Bin):

    Setup.exe /IAcceptExchangeServerLicenseTerms_DiagnosticDataOFF /PrepareAllDomains

    or

    Setup.exe /IAcceptExchangeServerLicenseTerms_DiagnosticDataOFF /PrepareDomain

    Exchange Server 2013 CU23 Install the May 2022 SU first and then run the following Command Prompt command once using Setup.exe in your Exchange Server installation path (e.g., …\Program Files\Microsoft\Exchange Server\v15\Bin):

    Setup.exe /IAcceptExchangeServerLicenseTerms /PrepareAllDomains

    or

    Setup.exe /IAcceptExchangeServerLicenseTerms /PrepareDomain

    Any older version of Exchange Server not listed above Update your Exchange server to the latest CU, install May 2022 SU, and follow the above steps.

    You need to run /PrepareAllDomains or /PrepareDomain only once per organization, and those changes will apply to all versions of Exchange Server within the organization.

    When you run /PrepareAllDomains or /PrepareDomain, 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.

    Note: If you’ve just added yourself to the Enterprise Admins security group, you’ll need to log out and back into the server for the new group membership to take effect.

    Issues resolved by this release

    The following issues have been resolved in this update:

    • Exchange Service Host service fails after installing March 2022 security update (KB5013118)
    • New-DatabaseAvailabilityGroupNetwork and Set-DatabaseAvailabilityGroupNetwork fail with error 0xe0434352 (Update: the -Subnets parameter is still not fixed)
    • The UM Voicemail greetings function stops working and returns error 0xe0434352.
    • Unable to send mails through EAS and Get-EmailAddressPolicy fails with Microsoft.Exchange.Diagnostics.BlockedDeserializeTypeException after installing Security Update KB5008631 for Exchange 2019

    FAQs

    The last SU that we installed is (a few months old). Do we need to install all SUs in order, to install the latest one?
    The Exchange Server Security Updates are cumulative. If you are running the CU that the SU can be installed on, you do not need to install all the SUs in sequential order but can install the latest SU only.

    My organization is in Hybrid mode with Exchange Online. Do I need to do anything?
    While Exchange Online customers are already protected, the May 2022 security updates do need to be applied to your on-premises Exchange Servers, even if they are used only for management purposes. You do not need to re-run the Hybrid Configuration Wizard (HCW) after applying updates.

    Do I need to install the updates on “Exchange Management Tools only” workstations?
    Install Security Updates on all Exchange Servers as well as servers or workstations running Exchange Management Tools only, which will ensure that there is no incompatibility between management tools clients and servers. If your organization uses only an Exchange Management Tools machine, then you should install the May 2022 SU package on it and run /PrepareAllDomains as per the above instructions to update Active Directory permissions.

    Instructions seem to indicate that we should /PrepareAllDomains or /PrepareDomain after May 2022 SU is installed; is that correct?
    Yes. The May 2022 SU package updates files in Exchange server folders when it is installed. That is why once those files are updated (SU is installed) – we ask you to go and explicitly /PrepareAllDomains or /PrepareDomain using setup from \v15\Bin folder.

    In our organization we never ran /PrepareAllDomains. We only prepared several of our domains. Do we still need to run /PrepareAllDomains to address CVE-2022-21978?
    If your organization has prepared only a subset of all your Active Directory domains, then you can choose to use the /PrepareDomain switch in those specific domains only.

    Does the /PrepareAllDomains or /PrepareDomain have to be done after ALL our Exchange Servers have been updated, or can it be done immediately after the first has been updated?
    You can run the /PrepareAllDomains or /PrepareDomain as soon as any one of your Exchange servers is updated with May 2022 SUs. You do not need to wait until all Exchange servers are updated.

    We have different Exchange Server versions in our organization running. Do we need to run the /PrepareAllDomains or /PrepareDomain on both the Exchange Server versions?
    Just run it once after installing the SU for the latest version.

    Further information

Leave a Reply