root access via exploit

is it possible to a hacker who has shell access to upload an exploit to the /tmp directory and then compile it & use it to gain a root access to a Linux RedHat 7.3 system

 

 

 

 

Top