Skip to content
RCE Write-up Advanced

Microsoft Exchange Powershell Remoting Deserialization leading to RCE (CVE-2023-21707)

A deserialization flaw in Exchange PowerShell remoting involved converting a crafted object to an attacker-influenced type, related to ProxyNotShell.

Nguyễn Tiến Giang Follow

Published on starlabs.sg

While analyzing CVE-2022-41082, also known as ProxyNotShell, we discovered this vulnerability which we have detailed in this blog. However, for a comprehensive understanding, we highly recommend reading the thorough analysis written by team ZDI.

Nguyễn Tiến Giang (@testanull), on starlabs.sg

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

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 write-up has not been written yet. The Original tab links to the source.

When a program rebuilds an object from data, a crafted object can be converted to an unintended type, which may be unsafe.

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 Nguyễn Tiến Giang

View all

6 more disclosed reports, best first.

More from Microsoft (Exchange)

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.