漏洞信息详情
Ethereal SOCKS解析器格式串溢出漏洞
- CNNVD编号:CNNVD-200303-061
- 危害等级: 高危
- CVE编号:
CVE-2003-0081
- 漏洞类型:
边界条件错误
- 发布时间:
2003-03-18
- 威胁类型:
远程
- 更新时间:
2005-05-13
- 厂 商:
ethereal_group - 漏洞来源:
Georgi Guninski※ g… -
漏洞简介
Ethereal是一款免费开放源代码的网络协议分析程序,可使用在Unix和Windows操作系统下。
Ethereal中的SOCKS解析器在处理畸形SOCKS包时存在漏洞,远程攻击者利用这个漏洞进行缓冲区溢出攻击,可能以Ethereal进程权限在系统上执行任意指令。
问题发生在\”packet-socks.c\”中的910行中:
—–
proto_tree_add_text( tree, tvb, offset, linelen,
format_text(data, linelen));
——
由于没有对外部提供的数据做正确的检查,提交带有格式字符串的数据可导致堆栈内容被破坏,攻击者可以连接SOCKS服务器,发送恶意格式字符串数据给SOCKS服务器,如果Ethereal正在监视SOCKS网络中的所有包信息,就可以导致发生格式串溢出攻击,精心构建提交数据可能以Ethereal进程权限在系统上执行任意指令。
漏洞公告
临时解决方法:
如果您不能立刻安装补丁或者升级,CNNVD建议您采取以下措施以降低威胁:
* Georgi Guninski提供如下第三方补丁:
——————
— packet-socks.c.orig 2002-08-29 03:40:03.000000000 +0300
+++ packet-socks.c 2003-02-25 15:52:14.000000000 +0200
@@ -908,7 +908,7 @@
linelen = lineend – data;
proto_tree_add_text( tree, tvb, offset, linelen,
– format_text(data, linelen));
+ “%s”,format_text(data, linelen));
offset += linelen;
data = lineend;
}
——————
厂商补丁:
Ethereal Group
————–
目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载:
Ethereal Group Upgrade ethereal-0.9.10.tar.gz
http://www.ethereal.com/distribution/ethereal-0.9.10.tar.gz” target=”_blank”>
http://www.ethereal.com/distribution/ethereal-0.9.10.tar.gz
参考网址
来源: BID
名称: 7049
链接:http://www.securityfocus.com/bid/7049
来源: www.guninski.com
链接:http://www.guninski.com/etherre.html
来源: www.ethereal.com
链接:http://www.ethereal.com/appnotes/enpa-sa-00008.html
来源: DEBIAN
名称: DSA-258
链接:http://www.debian.org/security/2003/dsa-258
来源: XF
名称: ethereal-socks-format-string(11497)
链接:http://xforce.iss.net/xforce/xfdb/11497
来源: REDHAT
名称: RHSA-2003:077
链接:http://www.redhat.com/support/errata/RHSA-2003-077.html
来源: REDHAT
名称: RHSA-2003:076
链接:http://www.redhat.com/support/errata/RHSA-2003-076.html
来源: SUSE
名称: SuSE-SA:2003:019
链接:http://www.novell.com/linux/security/advisories/2003_019_ethereal.html
来源: GENTOO
名称: GLSA-200303-10
链接:http://www.linuxsecurity.com/advisories/gentoo_advisory-2949.html
来源: FULLDISC
名称: 20030308 Ethereal format string bug, yet still ethereal much better than windows
链接:http://seclists.org/lists/fulldisclosure/2003/Mar/0080.html
来源: MANDRAKE
名称: MDKSA-2003:051
链接:http://frontal2.mandriva.com/security/advisories?name=MDKSA-2003:051
来源: CONECTIVA
名称: CLSA-2003:627
链接:http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000627
来源: US Government Resource: oval:org.mitre.oval:def:54
名称: oval:org.mitre.oval:def:54
链接:http://oval.mitre.org/repository/data/getDef?id=oval:org.mitre.oval:def:54