[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Full-disclosure] ftpd chdir() while root
- To: full-disclosure@xxxxxxxxxxxxxxxxx
- Subject: [Full-disclosure] ftpd chdir() while root
- From: Paul Szabo <psz@xxxxxxxxxxxxxxxxx>
- Date: Fri, 25 Aug 2006 11:07:17 +1000
Seems to me that ftpd does chdir(homedir) while root, before setting
UID/GID to the user logging in. This creates difficulties if the home
directory is on another machine via NFS with root_squash, and I guess
is a security issue as in some cases you may get a current directory
that would otherwise be inaccessible.
Some more details in http://bugs.debian.org/384454 .
Cheers,
Paul Szabo psz@xxxxxxxxxxxxxxxxx http://www.maths.usyd.edu.au/u/psz/
School of Mathematics and Statistics University of Sydney Australia
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/