Question 120
An application deserializes a remote object that can instantiate a dangerous class and trigger methods during parsing. Which weakness is being used?
Explanation
Correct Answer
Attacker-controlled object structure drives privileged behavior when the runtime reconstructs it. For this case, an application deserializes a remote object that can instantiate a dangerous class and trigger methods during parsing. The key technical distinction is which interpreter or trust boundary the attacker controls; input becoming executable query syntax, script, command or a privileged server request requires different safeguards. The competing choice “A simple plaintext backup confidentiality fault” addresses a different mechanism: backup encryption does not prevent dangerous object methods during parsing. That difference is material to the requested decision.
Incorrect Answers
Token expiry is unrelated to executing deserialized class behavior. Browser and web-origin mechanisms affect one request path; the right diagnosis depends on whether the client or trusted server is performing the sensitive action. Here the decisive fact is an application deserializes a remote object that can instantiate a dangerous class and trigger methods during parsing. “Unsafe object deserialization with executable side effects” matches that requirement because attacker-controlled object structure drives privileged behavior when the runtime reconstructs it.
Caching does not determine which constructors a serializer invokes. A tunnel or proxy changes the transport or inspection path; fine-grained identity and resource authorization still need explicit policy. In the reported situation, an application deserializes a remote object that can instantiate a dangerous class and trigger methods during parsing. The effective mechanism is “Unsafe object deserialization with executable side effects”: attacker-controlled object structure drives privileged behavior when the runtime reconstructs it.
Backup encryption does not prevent dangerous object methods during parsing. Backups and replicated copies mainly serve recovery and resilience; they do not inherently prevent an attacker from obtaining present access. Here the decisive fact is an application deserializes a remote object that can instantiate a dangerous class and trigger methods during parsing. “Unsafe object deserialization with executable side effects” matches that requirement because attacker-controlled object structure drives privileged behavior when the runtime reconstructs it.






CompTIA Security+ (SY0-701) Practice Tests