insecure deserialization

Turning untrusted bytes back into program objects in a way that lets an attacker create objects that run code.

Deserialising untrusted data can let an attacker run code inside the process.

In more detail

Formats that can describe arbitrary objects, such as Python pickle or Java serialization, are the usual culprits. It is an example of in-process code execution that a missing shell does not stop, because the attacker's code runs inside the application itself.

Related terms

Taught in

References