[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: COSEINC Linux Advisory #1: Linux Kernel Parent Process Death Signal Vulnerability
- To: full-disclosure@xxxxxxxxxxxxxxxxx, vulnwatch@xxxxxxxxxxxxx, bugtraq@xxxxxxxxxxxxxxxxx
- Subject: Re: COSEINC Linux Advisory #1: Linux Kernel Parent Process Death Signal Vulnerability
- From: Wojciech Purczynski <cliph@xxxxxxx>
- Date: Tue, 14 Aug 2007 23:03:46 +0200 (CEST)
Small correction - I forgot to add setuid(0) ;)
PARENT CHILD
----------------------------------------------------------------
fork()
prctl(PR_SET_PDEATHSIG)
execve("/bin/setuid-binary")
setuid(0)
exit()'ed or killed
child receives NO signal this time
PARENT CHILD
----------------------------------------------------------------
fork()
prctl(PR_SET_PDEATHSIG)
execve("/bin/setuid-binary")
setuid(0)
execve("/bin/setuid-binary")
exit()'ed or killed
privileged process receives the signal