From the course: CompTIA Cybersecurity Analyst (CySA+) (CS0-003) Cert Prep

Unlock the full course today

Join today to access over 24,200 courses taught by industry experts.

Overflow attacks

Overflow attacks

- [Instructor] When software engineers develop applications, they often set aside specific portions of memory to contain variable content. Users often provide answers to questions that are critical to the application's functioning and fill those memory buffers. If the developer fails to check that the input provided by the user is short enough to fit in the buffer, a buffer overflow occurs. The user content may overflow from the area reserved for input into an area used for other purposes, and unexpected results may take place. The easiest way to show this is with an example, so let's go back to WebGoat. You can see here that we have an application handling wifi charges for hotel rooms. I'm also going to start up the Zap proxy and then run through this page. I'm going to go ahead and enter my name and a hotel room number, and then press submit. Here I am now in the Zap proxy, which has intercepted my request. I'm going to start walking through this step-by-step and just review the…

Contents