A security analyst is investigating a service disruption on a C-based legacy network daemon. Examination of the stack memory dump reveals that an incoming request sent a payload exceeding the allocated array bounds, overwriting the adjacent memory locations and altering the function return address to execute injected instructions. Which of the following application vulnerabilities is demonstrated in this scenario?
- Buffer overflowCevap
- BCross-site scripting (XSS)
- CInsecure direct object reference (IDOR)
- DMissing network boundary firewall rules
Cevap
The application suffers from a buffer overflow vulnerability.
The correct option correctly identifies a buffer overflow. When an application receives more input than its memory buffer is designed to hold without proper bounds checking, the extra data overflows into adjacent memory. In stack-based buffer overflows, this can overwrite execution control pointers such as the return address.
Adım Adım Çözüm
Anahtar Kavram
Buffer Overflow