BBSXP,很多注入 's

admin 2017年4月6日02:05:10评论321 views字数 886阅读2分57秒阅读模式
摘要

作者:sobiny
来源:sobiny's Blog提交给BBSXP的漏洞公告,官方一点反映都没呢。。
其实主要是他们一个类型的注入太多了。
我都不好意思发出来,发多了手痛。
哎,举例一个。

作者:sobiny
来源:sobiny's Blog

提交给BBSXP的漏洞公告,官方一点反映都没呢。。
其实主要是他们一个类型的注入太多了。
我都不好意思发出来,发多了手痛。
哎,举例一个。

Search.asp文件

http://127.0.0.1/Search.asp?menu=Result&ForumID=1&Keywords=aaaaa&Item=ThreadID&DateComparer=365&SortBy=Desc/**/union&VerifyCode=8149

if Request("menu")="Result" then
Keywords=HTMLEncode(Request("Keywords"))

SortBy=HTMLEncode(Request("SortBy"))
Item=HTMLEncode(Request("Item"))

if Keywords="" then error("您没有输入任何查询条件!")
if Request("VerifyCode")<>Session("VerifyCode") or Session("VerifyCode")="" then

error("验证码错误!")

SQLSearch="IsApproved=1 and IsDel=0 and "&Item&" like '%"&Keywords&"%' "

if DateComparer > 0 then SQLSearch=SQLSearch&" and

PostTime>"&SqlNowString&"-"&DateComparer&" "

if ForumID > 0 then SQLSearch=SQLSearch&" and ForumID="&ForumID&" "

sql="select * from [BBSXP_Threads] where "&SQLSearch&" order by ThreadID

"&SortBy&""
Rs.Open sql,Conn,1

……………………

我汗死,一个语句中,有两个地方可以注入,BBSXP简直太有才了。。

他们不把这类型的漏洞补了
我还真不准备看了,太多了,BUG。

  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2017年4月6日02:05:10
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   BBSXP,很多注入 'shttp://cn-sec.com/archives/46275.html

发表评论

匿名网友 填写信息