Bugtraq mailing list archives

Re: serious security bug in wu-ftpd v2.4


From: wietse () porcupine org (Wietse Venema)
Date: Sat, 4 Jan 1997 21:42:58 -0500


The fix as proposed by the author (specific to the dologout()
function) is probably not sufficient.

There are many places where ftpd temporariliy raises its privilege
level and could be tractorbeamed away due to the arrival of a
signal.

Thus, all code fragments that run between seteuid(0) and seteuid(user)
should be considered critical regions. I recommend that all signals
be suspended while ftpd does its critical stuff.

I'm fixing the logdaemon ftpd, which seems to have the same problem.

        Wietse



Current thread: