漏洞信息详情
lftp Try_Netscape_Proxy远程缓冲区溢出漏洞
- CNNVD编号:CNNVD-200401-026
- 危害等级: 高危
- CVE编号:
CVE-2003-0963
- 漏洞类型:
边界条件错误
- 发布时间:
2003-12-12
- 威胁类型:
远程
- 更新时间:
2005-10-20
- 厂 商:
alexander_v._lukyanov - 漏洞来源:
Ulf Harnhammar※ ul… -
漏洞简介
lftp是一款支持多平台,支持多模式(ftp、ftps、http、https、hftp等)的基于命令行FTP客户端。
lftp在接收到从远程HTTP服务器返回的内容时不正确处理部分目录信息,远程攻击者可以利用这个漏洞进行缓冲区溢出攻击,可能以lftp进程权限在系统上执行任意指令。
问题存在于src/HttpDir.cc文件中的try_netscape_proxy()函数,由于lftp在使用HTTP或者HTTPS进行WEB服务器连接,并使用lftp的\”ls\”或\”rels\”命令对特殊目录进行浏览时缺少充分的边界缓冲区检查,精心构建目录数据,可导致触发缓冲区溢出,精心构建提交数据可能以lftp进程权限在系统上执行任意指令。
漏洞公告
厂商补丁:
MandrakeSoft
————
MandrakeSoft已经为此发布了一个安全公告(MDKSA-2003:116)以及相应补丁:
MDKSA-2003:116:Updated lftp packages fix buffer overflow vulnerability
链接:http://www.linux-mandrake.com/en/security/2003/2003-116.php” target=”_blank”>
http://www.linux-mandrake.com/en/security/2003/2003-116.php
补丁下载:
Updated Packages:
Corporate Server 2.1:
Corporate Server 2.1/x86_64:
Mandrake Linux 9.0:
ftp://download.sourceforge.net/pub/mirrors/mandrake/updates/9.0/RPMS/lftp-2.6.0-1.1.90mdk.i586.rpm
ftp://download.sourceforge.net/pub/mirrors/mandrake/updates/9.0/SRPMS/lftp-2.6.0-1.1.90mdk.src.rpm
Mandrake Linux 9.1:
ftp://download.sourceforge.net/pub/mirrors/mandrake/updates/9.1/RPMS/lftp-2.6.4-2.1.91mdk.i586.rpm
ftp://download.sourceforge.net/pub/mirrors/mandrake/updates/9.1/SRPMS/lftp-2.6.4-2.1.91mdk.src.rpm
Mandrake Linux 9.1/PPC:
Mandrake Linux 9.2:
ftp://download.sourceforge.net/pub/mirrors/mandrake/updates/9.2/RPMS/lftp-2.6.6-2.1.92mdk.i586.rpm
ftp://download.sourceforge.net/pub/mirrors/mandrake/updates/9.2/SRPMS/lftp-2.6.6-2.1.92mdk.src.rpm
Mandrake Linux 9.2/AMD64:
_______________________________________________________________________
To upgrade automatically use MandrakeUpdate or urpmi. The verification
of md5 checksums and GPG signatures is performed automatically for you.
A list of FTP mirrors can be obtained from:
http://www.mandrakesecure.net/en/ftp.php” target=”_blank”>
http://www.mandrakesecure.net/en/ftp.php
上述升级软件还可以在下列地址中的任意一个镜像ftp服务器上下载:
http://www.mandrakesecure.net/en/ftp.php” target=”_blank”>
http://www.mandrakesecure.net/en/ftp.php
RedHat
——
RedHat已经为此发布了一个安全公告(RHSA-2003:403-01)以及相应补丁:
RHSA-2003:403-01:Updated lftp packages fix security vulnerability
链接:https://www.redhat.com/support/errata/RHSA-2003-403.html” target=”_blank”>https://www.redhat.com/support/errata/RHSA-2003-403.html
补丁下载:
Alexander V. Lukyanov lftp 2.4.9:
RedHat Patch lftp-2.4.9-2.i386.rpm
ftp://updates.redhat.com/7.2/en/os/i386/lftp-2.4.9-2.i386.rpm
RedHat Patch lftp-2.4.9-2.ia64.rpm
ftp://updates.redhat.com/7.2/en/os/ia64/lftp-2.4.9-2.ia64.rpm
RedHat Patch lftp-2.4.9-2.i386.rpm
ftp://updates.redhat.com/7.3/en/os/i386/lftp-2.4.9-2.i386.rpm
Alexander V. Lukyanov lftp 2.5.2:
RedHat Patch lftp-2.5.2-6.i386.rpm
ftp://updates.redhat.com/8.0/en/os/i386/lftp-2.5.2-6.i386.rpm
Alexander V. Lukyanov lftp 2.6.3:
RedHat Patch lftp-2.6.3-4.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/lftp-2.6.3-4.i386.rpm
Alexander V. Lukyanov lftp 2.6.5:
Fedora Upgrade lftp-2.6.10-1.i386.rpm
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/1/i386/lftp-2.6.10-1.i386.rpm” target=”_blank”>
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/1/i386/lftp-2.6.10-1.i386.rpm
Fedora Upgrade lftp-debuginfo-2.6.10-1.i386.rpm
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/1/i386/debug/lftp-debuginfo-2.6.10-1.i386.rpm” target=”_blank”>
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/1/i386/debug/lftp-debuginfo-2.6.10-1.i386.rpm
Alexander V. Lukyanov
———————
lftp 2.6.10已经修正此漏洞:
http://lftp.yar.ru/get.html” target=”_blank”>
http://lftp.yar.ru/get.html
另外2.6.9版本的补丁也可以从如下地址获得:
http://labben.abm.uu.se/~ulha9485/lftp-advisory-data.tar.gz” target=”_blank”>
http://labben.abm.uu.se/~ulha9485/lftp-advisory-data.tar.gz
参考网址
来源: BUGTRAQ
名称: 20031213 lftp buffer overflows
链接:http://marc.theaimsgroup.com/?l=bugtraq&m=107152267121513&w=2
来源: REDHAT
名称: RHSA-2003:404
链接:http://www.redhat.com/support/errata/RHSA-2003-404.html
来源: SUSE
名称: SuSE-SA:2003:051
链接:http://www.novell.com/linux/security/advisories/2003_051_lftp.html
来源: DEBIAN
名称: DSA-406
链接:http://www.debian.org/security/2004/dsa-406
来源: OVAL
名称: oval:org.mitre.oval:def:11180
链接:http://oval.mitre.org/repository/data/getDef?id=oval:org.mitre.oval:def:11180
来源: SGI
名称: 20040101-01-U
链接:ftp://patches.sgi.com/support/free/security/advisories/20040101-01-U
来源: REDHAT
名称: RHSA-2003:403
链接:http://www.redhat.com/support/errata/RHSA-2003-403.html
来源: MANDRAKE
名称: MDKSA-2003:116
链接:http://www.mandriva.com/security/advisories?name=MDKSA-2003:116
来源: SECUNIA
名称: 10548
链接:http://secunia.com/advisories/10548
来源: SECUNIA
名称: 10525
链接:http://secunia.com/advisories/10525
来源: CONECTIVA
名称: CLA-2004:800
链接:http://marc.theaimsgroup.com/?l=bugtraq&m=107340499504411&w=2
来源: BUGTRAQ
名称: 20031218 GLSA: lftp (200312-07)
链接:http://marc.theaimsgroup.com/?l=bugtraq&m=107177409418121&w=2
来源: BUGTRAQ
名称: 20031217 [OpenPKG-SA-2003.053] OpenPKG Security Advisory (lftp)
链接:http://marc.theaimsgroup.com/?l=bugtraq&m=107167974714484&w=2
来源: BUGTRAQ
名称: 20031212 [slackware-security] lftp security update (SSA:2003-346-01)
链接:http://marc.theaimsgroup.com/?l=bugtraq&m=107126386226196&w=2
来源: SGI
名称: 20040202-01-U
链接:ftp://patches.sgi.com/support/free/security/advisories/20040202-01-U.asc