Full Disclosure mailing list archives

Re: Multiple OS kernel insecure handling of stdio file descriptor


From: "Michele Cicciotti" <mc () khamsa net>
Date: Sun, 21 Jan 2007 00:53:53 +0100

 SP> The AIX Security Team can be reached at security-alert () austin ibm com.
 SP> We have investigated this issue and AIX is not affected. A privileged
 SP> process will not inherit closed file descriptors for stdio, stdout and
 SP> stderr.
well, but what is used for stdout if it's closed in the parent
process just before fork(2) call?!

I don't know what's the case for AIX, but the typical fix for this vulnerability is to reopen stdout and stderr to 
/dev/null for setuid processes

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/


Current thread: