Skip to content
RCE Write-up Intermediate

CVE-2025–53772: The Silent Risk in Microsoft Web Deploy

Microsoft Web Deploy accepts a header containing a compressed, serialized .NET object and deserializes it with BinaryFormatter, which can instantiate arbitrary types. An authenticated attacker could send a crafted payload to execute arbitrary commands on the server.

medium.com

Published on medium.com

In August 2025, Microsoft disclosed CVE-2025–53772, which is a high-severity remote code execution (RCE) vulnerability in its Web Deploy toolchain. With a CVSS score of 8.8, this flaw quietly threatens thousands of internet-facing IIS servers used for automated deployments across enterprise environments.

gm0, on medium.com

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.

How it worked

Impact

An authenticated attacker could execute arbitrary commands, leading to web shells, configuration changes, lateral movement, and persistence.

What the attacker needed

Valid Web Deploy credentials; network access to port 8172

How it was found

  1. Obtain valid credentials for Web Deploy, often low-privilege.
  2. Craft a malicious C# object graph using gadget chains.
  3. Compress and encode the payload, then send it via HTTP POST in the MSDeploy.SyncOptions header.
  4. The server deserializes the blob and executes embedded commands.

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.

Web Deploy is a tool for automatically copying websites to servers. It accepts a special header that contains a serialized object, and the server turns that data back into live objects. Because the deserializer can create any object, an attacker who can log in can craft a payload that runs commands 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.

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.