[原文]Directory traversal vulnerability in SunFTP build 9 allows remote attackers to read arbitrary files via .. (dot dot) characters in various commands, including (1) GET, (2) MKDIR, (3) RMDIR, (4) RENAME, or (5) PUT.
SunFTP is a freeware ftp server written by Rasmus J.P. Allenheim and associates for the Windows platform.
SunFTP contains a vulnerability that may allow ftp users to compromise the server. Users may be able to upload or retrieve files from outside the protected ftp-root directory.
This could allow, for example, users to place trojan horse programs on the system and gain control.
Using this vulnerability to retrieve a file from outside the ftp-root (sunftptest.txt):
ftp> get ../sunftptest.txt
200 Port command successful.
150 Opening data connection for ../sunftptest.txt.
226 File sent ok
Using this vulnerability to place a file on the target filesystem outside the ftp-root (../autorun.bat):
Lokale Datei c:\test.txt