Skip to content
RCE Advisory Advanced CVE-2023-36778

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

Microsoft Exchange Server did not properly validate arguments passed to PowerShell cmdlets. An authenticated attacker on the same intranet could use a PowerShell remoting session to run arbitrary code on the server.

zcgonvh Follow

Originally disclosed on Microsoft

High 8.0 View original

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

How could an attacker exploit this vulnerability? An authenticated attacker who is on the same intranet as the Exchange server can achieve remote code execution via a PowerShell remoting session.

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

What can cause this vulnerability? The vulnerability occurs due to improper validation of cmdlet arguments. Does the attacker need to be in an authenticated role in the Exchange Server? Yes, the attacker must be authenticated.

Microsoft Exchange Server

Microsoft Exchange Server

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by zcgonvh. 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

Impact

An authenticated attacker with LAN access could achieve remote code execution on the Exchange server.

What the attacker needed

Valid Exchange user credentials; LAN access to the Exchange server

The fix

The text only says customer action is required and does not describe the fix, so it should be fixed by properly validating cmdlet arguments.

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 is Microsoft's email server. It lets administrators run commands remotely through a feature called PowerShell remoting. Because the server did not check the arguments of those commands properly, someone who already had a valid Exchange login and was on the same local network could run their own code on the server.

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 zcgonvh

View all

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