lsh patch (was Re: [Full-Disclosure] new ssh exploit?)

Carl Livitt carl at learningshophull.co.uk
Fri Sep 19 17:54:16 BST 2003


> I'm *not* going to bet that it isn't exploitable. I'll try to get new
> releases out within a few days, until then, I recommend that you apply
> the above patch to lshd and recompile, or disable lshd service.

I would recommend that too. Attached is a revised version of the exploit I 
posted earlier with a couple more targets.... it also works against lsh 
running 'daemonic', ie. started as a daemon and not just against lshd running 
in the foreground.

The only caveat is that the exploit must be the first thing to connect to lshd  
otherwise the exploit becomes a DoS.

More advanced exploits that work _every_ time should be expected.

Carl.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lsh_exploit.c
Type: text/x-csrc
Size: 8179 bytes
Desc: not available
Url : http://lists.grok.org.uk/pipermail/full-disclosure/attachments/20030919/679b95a8/attachment.bin 


Full-Disclosure is hosted and sponsored by Secunia.