This is a simple test, executing a setuid process with filedescriptor 2
closed, and then opening a file and seeing what fd it gets.
Linux 2.2.16 RedHat AXP Not vulnerable (thanks fets)
Linux 2.5.6 Debian `Woody' Not vulnerable
Linux 2.4.18 Debian `Potato' Not vulnerable
OpenBSD 2.9 Not vulnerable (thanks dim)
OpenBSD 3.0 Not vulnerable (thanks sateh)
OpenBSD 3.1 Not vulnerable (thanks dim)
OS X 10.1.4 Not vulnerable (thanks sateh)
NetBSD 1.4.2 Not vulnerable (thanks bounce)
Solaris 2.5.1-2.5.8 Vulnerable
Code on http://ds9a.nl/setuid-fd-2.tar.gz
cf lien + haut (Christophe Guilloux)
[^] # Re: Génant en effet
Posté par furai (site web personnel) . En réponse à la dépêche Faille dans certains noyaux : détournement de stdio/stderr. Évalué à 10.