Security Incidents mailing list archives

vi as a suid


From: prrar () NITNET COM BR (Paulo Ribeiro)
Date: Tue, 8 Feb 2000 20:32:45 -0200


A friend of mine told me he was having some 'security problems' and
asked me to take a look at his system and see what's going on. He's
using a Red Hat 5.2 Linux.

As I logged into the system, I searched for some backdoors and SUIDs,
GUIDs, etc and look what I've found:

$ ls -la /bin/vi
-rwsrwsrwt   1 root     root        11710 Jan  9 19:32 /bin/vi
$ /bin/vi
:!/bin/sh
# exit

And after checking his servers, I found out that the intruder had broken
into his system by his ftp server and he (the intruder :) had left some
backdoors.

--
Paulo Ribeiro.



Current thread: