Skip to content
RCE Advisory Advanced CVE-2023-36439

Microsoft Exchange Server Remote Code Execution Vulnerability (CVE-2023-36439)

An authenticated Exchange user could exploit a flaw to run code on the server's mailbox backend with SYSTEM privileges. The attacker needs LAN access and the server must have the serialized data signing feature disabled.

m4yfly Follow

Originally disclosed on Microsoft

High 8.0 View original

FAQ

How could an attacker exploit this vulnerability? For the vulnerability to be exploited, the attacker would need to be authenticated as a valid exchange user.

FAQ

What privileges could be gained by an attacker who successfully exploited the vulnerability? An authenticated attacker could gain remote code execution rights on the server mailbox backend as NT AUTHORITY\SYSTEM.

FAQ

According to the CVSS metric, the attack vector is adjacent (AV:A). What does that mean for this vulnerability? An authenticated attacker could exploit this vulnerability with LAN access.

FAQ

Are there any more actions I need to take to be protected from this vulnerability? Yes. Customers running an affected version of Microsoft Exchange need to download the November 2023 Security Update and ensure the Serialized Data Signing feature is enabled to be protected from this vulnerability. Disabling certificate signing of Powershell serialization payloads makes your server vulnerable to known Exchange vulnerabilities and weakens protection against unknown threats. We recommend leaving this feature enabled.

Microsoft Exchange Server

Microsoft Exchange Server

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by m4yfly with TianGong Team of Legendsec at Qi'anxin Group. 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 the server fails to properly verify signed serialized PowerShell data, allowing an authenticated user to inject malicious serialized content that is later executed.

Impact

An authenticated attacker with LAN access could gain remote code execution as NT AUTHORITY\SYSTEM on the mailbox backend, but only if serialized data signing is disabled.

What the attacker needed

Authenticated as a valid Exchange user; LAN access to the server; serialized data signing disabled

The fix

Install the November 2023 Security Update and ensure the Serialized Data Signing feature is enabled.

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.

This is a security flaw in Microsoft Exchange, an email server. Someone who already has a normal user account could use it to take full control of the server's internal email processing, but only from the same local network and only if a protective setting is turned off.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by m4yfly

View all

4 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.