Threats, Vulnerabilities, and Mitigations

A web form field accepts 20 characters, but an attacker submits thousands and the application crashes with a memory error. Which attack is this?

Show the answer

Correct answerD. Buffer overflow

AWhy not this: Replay resends previously captured valid traffic; nothing is being resent here.

BWhy not this: Directory traversal uses path sequences to reach files outside the intended folder, not oversized input.

CWhy not this: Privilege escalation raises access rights; a crash from oversized input is not that.

DWhy this is right: Input far larger than the allocated buffer overwrites adjacent memory and causes a crash.

Sending more data than a memory buffer can hold overwrites adjacent memory and can crash the program, which is a buffer overflow. Privilege escalation is about gaining higher rights, not about overrunning input memory.