i've got a program that is owned by root (chown root prog) and any user of the system have previlegde to execut it, ok simple like chmod 711 ..
but that program have a buffer overflow vuln.. and what i want to know if we exploit the program we could get root with a simple shellcode that executes a setuid(0) and getuid(0) and a /bin/sh
or the program need to be suided to get root?
greets[]




