KingCms最新版(k9)注入3枚打包

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

### 简要描述: KingCms最新版(k9)注入3枚打包 ### 详细说明: 朋友的公司想购买kingcms的授权,让我帮忙看下。发现kingcms很长一段时间没更新了,憋了一段时间放出了最新版的k9(2014-12-13更新),官网下下来学习一下。 在wooyun上看到了几个漏洞,如: [WooYun: kingcms最新版sql注入漏洞](http://www.wooyun.org/bugs/wooyun-2013-043520) 注入点:POST /apps/store/index.php HTTP/1.1 注入参数:where 问题文件在 /apps/store/index.php 当$cmd分别为store,news,product时,分别会有三个漏洞,这里以$cmd=store为例进行说明。 ``` function _create(){ $u=new user;$u->auth_role('store'); $db=new db; $where=kc_get('where',0,1); $pid=kc_get('pid',2,1); $rn=kc_get('rn',2,1); $limit=($rn*($pid-1)).','.$rn.';'; $cmd=kc_get('cmd',array('categroy','store','news','product')); $pcount=kc_get('pcount',2,1); $start=$rn*$pid>$pcount?$pcount:$rn*$pid; $file=new file; $fpath=kc_config('store.url'); if($cmd=='categroy'){ $res=$db->getRows('%s_store_categroy','*'); foreach($res as $rs){ $rs['TEMPLATE']='store/'.(empty($rs['template'])?'categroy.php':$rs['template']); $file->create($rs['url'],$rs); } }else if($cmd=='store'){...

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