I have been reading up on Insecure Deserialization and how it can affect Java applications.


If the captured traffic data include the following patterns it may suggest that the data was sent in Java serialization streams:

"AC ED 00 05" in Hex
"rO0" in Base64
Content-type = 'application/x-java-serialized-object'

Burp extension to perform Java Deserialization Attacks:




My question is if a similar pattern exists for .NET? Are there any tools to test exploits for this?

The article below mentions a JSON deserialization flaw in Breeze, JSON deserialization flaw in NancyFX and XML deserialization flaw in DotNetNuke,


I have been reading about XML External Entity (XXE) injection for System libraries but nothing with deserialization in .NET.


1 Answer 1


Insecure deserialization is not a Java specific flaw, all languages are subject to this kind of vulnerability. Please have a look at this 2017 blackhat conference : Friday the 13th: JSON attacks, it focuses on .Net JSON serializers.

You can find a useful tool to test your developments in yoserial.

Regarding XXE, it has nothing to do with serialization, those two vulnerabilities are clearly separated in the latest OWASP's top ten.

  • Is Unsafe deserialization is an other name of Insecure deserialization ?
    – Tahir Alvi
    Mar 23, 2019 at 19:44
  • I think it's the same yes
    – gfrancqu
    Mar 25, 2019 at 8:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.