Question: Write a C program that contains a stack-based buffer overflow and make it SUID root. Run the program outside of the debugger as an unprivileged
Write a C program that contains a stack-based buffer overflow and make it SUID root. Run the program outside of the debugger as an unprivileged user and exploit the overflow to obtain a root shell. Include a description of exactly how the program was exploited, and a screen shot showing that a root shell was obtained.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
