Overwriting Return Address: Top Stack Overflow Attack Vector

Attackers primarily exploit stack overflows by corrupting the return address stored on the call stack, forcing the program to jump to an attacker-controlled memory location and execute malicious code instead of returning to its legitimate caller.

Sources

Open the full topic