Threats, Vulnerabilities, and Attacks
A legacy service crashes each time it receives a 4,000-byte value in a field sized for 64 bytes. The crash dump shows the instruction pointer holding repeated 0x41 bytes. Which attack is MOST likely being attempted?
Show the answer
Correct answerA. Buffer overflow
AWhy this is right: Oversized input overwrote adjacent memory and the instruction pointer, which causes the crash.
BWhy not this: Injection inserts SQL or shell syntax into input; it doesn't overwrite the instruction pointer.
CWhy not this: Traversal uses ../ sequences to reach files outside the web root; there are none here.
DWhy not this: Replay resends captured valid messages; the input here is oversized and malformed.
Input far larger than the field overwrites adjacent memory, including the return address, so the instruction pointer holds attacker-supplied bytes (0x41 is 'A'). That is a buffer overflow. Injection inserts commands or queries into input and does not corrupt memory.