Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 1.12 KB

insecure-deserialization.md

File metadata and controls

29 lines (17 loc) · 1.12 KB

Insecure Deserialization

Understanding Serialization and Deserialization

Serialization

  • Convert an object into a format that can be placed on a disk
  • To be sent over a network
  • Serialized data can be YAML, Binary, XML, JSON, etc.

Deserialization

  • This is the opposite process of serialization
  • In other words, you are taking the serialized data and deserializing it!

Insecure Deserialization

The nature of an insecure deserialization attack is when you take a malicious piece of code or a payload, serialize it, and introduce it to a web application.

Upon introduction, the web application will theoretically begin the deserialization process and in return, execute the malicious code.

  • Web apps use deserialization and deserialization very often
  • These are very hard to find

Ysoserial GitHub Insecure Deserialization PoC Payload Generator

{% embed url="https://github.com/frohoff/ysoserial" %}