mcms最新版SQL注入二枚打包(可出任意数据)

- AV AC AU C I A
发布: 2025-04-13
修订: 2025-04-13

### 简要描述: mcms最新版SQL注入二枚打包(可出任意数据) ### 详细说明: 掌易科技的程序员反应相当快啊,确认漏洞当天就修复以后出新版本了,前面在wooyun提的几个漏洞新版的mcms做了相应的处理,发布了新版v_3.1.3.enterprise,再来研究研究。 注入一枚:/app/public/code.php?code_id=6977&txt=test&value=test(注意public文件夹是安装系统时取的名字)post中有两个参数,都存在过滤不严的问题。 Txt和value都存在注入问题,这里我们以txt为例来证明问题的存在。我们看看是如何注入的。 /app/public/code.php ``` function m__list(){ global $dbm,$result,$p,$C,$code_id,$T; $code_id=isset($_GET['code_id'])?intval($_GET['code_id']):0;//当前分类ID $_GET['txt']=isset($_GET['txt'])?trim($_GET['txt']):''; $_GET['value']=isset($_GET['value'])?trim($_GET['value']):''; $params = array(); //位置导航 $result['snav']=array(); if($code_id>0){ $result['snav']=$T->tree_father($code_id); } if(isset($_GET['code_id'])){ $where = " parent_code_id='$code_id' "; }else{ if($_GET['txt']=='' && $_GET['value']==''){ $where = " parent_code_id=0 "; }else{ $where = " 1=1 "; } } if($_GET['txt']!='') $where.=" and txt like '%{$_GET['txt']}%'"; if($_GET['value']!='') $where.=" and value like '%{$_GET['value']}%'";...

0%
暂无可用Exp或PoC
当前有0条受影响产品信息