Vulnerability field guide
Insecure Deserialization
When an application rebuilds objects from untrusted serialized data, attacker-crafted gadget chains can run code during deserialization itself. Here is how object injection leads to RCE, and why data-only formats are the fix.
5 articles 27 min total Overview to advanced techniques
Insecure Deserialization techniques
4 focused deep-dives
- 02 .NET.NET Deserialization: BinaryFormatter, Json.NET and TypeNameHandling 5 min
- 03 JavaJava Deserialization: ObjectInputStream and the Gadget-Chain Problem 5 min
- 04 PHPPHP Object Injection: unserialize() and the Magic-Method Chain 5 min
- 05 PythonPython Deserialization: pickle, PyYAML and the __reduce__ Trap 4 min