Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Stack smashing, integer overflow vulnerability?

Também chamado de: stack smashing · integer overflow vulnerability

Definition 29.2 University Computer Science — Year 3 · Capítulo 29 — Software Security

Stack smashing is a buffer overflow in a stack frame that overwrites other data of the frame: another local variable, the saved frame pointer or the return address. An integer overflow vulnerability is an arithmetic overflow in a size or index computation, which makes a later check or allocation use a wrong, usually too small, value.

The frame of check in the two builds, from , with offsets from the frame pointer in bytes. In the plain build the 29th byte of a name lands in is_admin; with the protector the array sits just below the canary, and the flag is out of reach below it.
The frame of check in the two builds, from Output 29.1, with offsets from the frame pointer in bytes. In the plain build the 29th byte of a name lands in is_admin; with the protector the array sits just below the canary, and the flag is out of reach below it.
Ler no capítulo →