Attacks and Exploits
A tester alters a serialized Java object in a cookie so the server runs attacker-chosen code when it rebuilds the object. Which attack is this?
Show the answer
Correct answerB. Insecure deserialization
AWhy not this: Local file inclusion makes the app load a file from its own filesystem; no file path is involved.
BWhy this is right: Tampering with a serialized object that the server reconstructs is the defining pattern of this attack.
CWhy not this: JWT manipulation alters signed token claims or algorithms; a serialized Java object is not a JWT.
DWhy not this: Template injection abuses template syntax rendered by the engine, not a serialized object in a cookie.
Insecure deserialization occurs when an application rebuilds untrusted serialized data into objects, letting the attacker control the resulting data or code path. Template injection targets template engines, not serialized object streams.