KingCms最新版(k9)注入1枚

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

### 简要描述: KingCms最新版(k9)注入1枚 ### 详细说明: 朋友的公司想购买kingcms的授权,让我帮忙看下。发现kingcms很长一段时间没更新了,憋了一段时间放出了最新版的k9(2014-12-13更新),官网下下来学习一下。 在wooyun上看到了几个漏洞,如: [WooYun: kingcms最新版sql注入漏洞](http://www.wooyun.org/bugs/wooyun-2013-043520) 注入点:POST /apps/jiaoyi/index.php HTTP/1.1 注入参数:where 问题文件在 /apps/jiaoyi/index.php ``` function _create(){ $u=new user;$u->auth_role('jiaoyi'); $db=new db; $cmd=kc_get('cmd',array('categroy','content')); $file=new file; if($cmd=='content'){ $where=kc_get('where',0,1); $pid=kc_get('pid',2,1); $rn=kc_get('rn',2,1); $limit=($rn*($pid-1)).','.$rn.';'; $pcount=kc_get('pcount',2,1); $start=$rn*$pid>$pcount?$pcount:$rn*$pid; $res=$db->getRows('%s_jiaoyi','*',$where,'',$limit); foreach($res as $rs){ //process file to rela path $rs['TEMPLATE']='jiaoyi/info.php'; $file->create($rs['url'],$rs,'apps/jiaoyi/_info.php'); } ``` $where是这样获得的,$where=kc_get('where',0,1);我们去看看kc_get ``` function kc_get($name,$type=2,$is=0){ $get = isset($_GET[$name]) ? $_GET[$name] : false;...

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