Stack Based Vulnerabilities

Stack can be subverted to conduct attacks.

  • It contains local variables (which store user-injected data).

  • The program execution flow is kept in the stack.

Mostly:

  • Denial of Service: program crashes.

  • Memory disclosure: The attacker gains access to previous frames.

  • Change program flow.

  • Injection of malicious code.

Last updated