Microsoft Exchange Server Remote Code Execution Vulnerability (CVE-2023-36745)
A deserialisation flaw in Microsoft Exchange Server allowed an authenticated attacker with LAN access to run code remotely. Successful exploitation could let the attacker read and alter information and potentially cause downtime.
Originally disclosed on Microsoft
FAQ
According to the CVSS metric, privileges required is low (PR:L). Does the attacker need to be in an authenticated role on the Exchange Server? Yes, the attacker must be authenticated with LAN-access and have credentials for a valid Exchange user.
FAQ
According to the CVSS metric, successful exploitation of this vulnerability could lead to total loss of confidentiality (C:H), integrity (I:H), and availability (A:H). What does that mean for this vulnerability? An attacker who successfully exploits this vulnerability could perform a remote attack that could enable access to the victim's information and the ability to alter information. Successful exploitation could also potentially cause downtime for the targeted environment.
FAQ
How could an attacker exploit this vulnerability? An attacker could exploit the vulnerability by leveraging the known (Type 4) UnitySerializationHolder gadget through a deserialization of untrusted data. Exploitation of this vulnerability requires that a user gain LAN-access as well as obtain credentials for a valid Exchange user.
FAQ
What updates do I need to install to be protected from this vulnerability? Customers need to install the August 2023 Exchange security updates which are listed in the Security Updates table. Customers who have already August 2023 security updates are already protected from this vulnerability. Is there more information available? Yes, please see September 2023 release of new Exchange Server CVEs for more information.
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
Root cause
Likely the server deserialised untrusted input without restricting which types could be reconstructed, allowing a known gadget to be abused.
Impact
An attacker could read and alter the victim's information and potentially cause downtime, but only after gaining LAN access and valid Exchange credentials.
What the attacker needed
Valid Exchange user credentials; LAN access to the server
The fix
It was fixed by installing the August 2023 Exchange security updates.
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.
Deserialisation is when a program turns stored data back into live objects, and if that data comes from an untrusted source it can carry hidden instructions. Here, a logged-in Exchange user on the local network could send crafted data that the server rebuilt into something dangerous, letting the attacker run their own code. The attacker still needed valid credentials and network access first.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.