.NET Remoting Revisited
The blog post explains that .NET Remoting uses BinaryFormatter and SoapFormatter serializers, which are vulnerable to deserialization attacks. An attacker who can reach a remoting service can send crafted serialized objects to achieve remote code execution on the server.
Published on codewhitesec.blogspot.com
.NET Remoting is the built-in architecture for remote method invocation in .NET. It is also the origin of the (in-)famous BinaryFormatter and SoapFormatter serializers and not just for that reason a promising target to watch for.
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
Root cause
Likely the use of BinaryFormatter and SoapFormatter for deserializing untrusted remoting messages, which allows arbitrary object instantiation and gadget chains.
Impact
An attacker could achieve remote code execution on a server exposing a .NET Remoting service, though the text notes that some defences like CAS or type filtering may limit exploitation.
What the attacker needed
Network access to a .NET Remoting service
The fix
Developers should not use .NET Remoting and should migrate to WCF.
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.
This is about an old Microsoft technology called .NET Remoting that lets programs call methods on other computers. It uses a serialiser (a component that turns objects into bytes and back) that is unsafe because it can be tricked into creating harmful objects when it reads data. An attacker who can send data to such a service can make the server run their code.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.