|
|||||||||||
|
Re: sftp logging patch: http://sftplogging.sourceforge.net
From: Ben Lindstrom <mouring(at)etoh.eviladmin.org>
Date: Thu Jun 19 2003 - 10:49:31 EDT I'd suggest people stear clear of this patch until the programmer fixes it. It does it's work by depending on environment variables which can easily be tainted by the end-user. Since all subsystems are ran with $USERSHELL -c $SUBSYSTEMCMD. Someone can easily reset the environment strings in their non-interactive profile. The only time this maybe secure is if $USERSHELL is a custom shell (rssh, sftp-server, etc) that has no non-interactive profiles that can be tampered with. It would be much better to either pass the stuff on the commandline.. IE Subsystem sftp sftp-server -L -F info ..etc.. Or give sftp-server it's own configuration file that is ran on startup. The issue of user environment taint in sftp-server has been brought up a few times over on openssh-unix-dev@ list in regards to a sftp-server.c patch for chroot() (people using getenv('HOME') instead of the correct getpw*() C command).
On 18 Jun 2003, Michael Martinez wrote: > Sftp logging
This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:59 EDT |
||||||||||
|
|||||||||||