Virtual Path Security Bug: Build 157 & 160
Posted: Tue Aug 08, 2006 2:48 am
There's a security issue with the virtual paths feature in build 157.
This issue only seems to show up when clients are using
a command-line sftp client.
Problem: commandline driven folder navigation through virtual path exposes non-mapped directories.
user cd's down into a virtual path.
user issues "cd ../"
Coreftp Server navigates back up the physical path, not the virtual path.
User can navigate all the way to root of disk.
Example:
%HOME% = d:\ftpbase
disk1 (virtual) points to d:\media\movies
User: cd disk1 -> end up in movies
User: cd ../ -> end up in media
User: cd ../ -> end up in d:\
In this case client was sftp running on red hat linux.
--edited title to include build 160
This issue only seems to show up when clients are using
a command-line sftp client.
Problem: commandline driven folder navigation through virtual path exposes non-mapped directories.
user cd's down into a virtual path.
user issues "cd ../"
Coreftp Server navigates back up the physical path, not the virtual path.
User can navigate all the way to root of disk.
Example:
%HOME% = d:\ftpbase
disk1 (virtual) points to d:\media\movies
User: cd disk1 -> end up in movies
User: cd ../ -> end up in media
User: cd ../ -> end up in d:\
In this case client was sftp running on red hat linux.
--edited title to include build 160