Bugtraq mailing list archives

Re: sperl 5.00503 (and newer ;) exploit


From: Matthew Kirkwood <weejock () FERRET LMH OX AC UK>
Date: Tue, 8 Aug 2000 11:10:43 +0100

On Tue, 8 Aug 2000, Paul Szabo wrote:

  cd /usr/local/bin
  cp -i suidperl suidperl.ORIG
  perl -pe 's/mail root/NOmailZZZ/' < suidperl.ORIG > suidperl
  chmod 4711 suidperl

Careful!  You're missing a:

  chmod 0 suidperl.ORIG

here.

Matthew.


Current thread: