PHPAPP注入第十三枚(无视过滤)

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

### 简要描述: PHPAPP注入第十三枚(无视过滤) ### 详细说明: 在wooyun上看到了有人提了PHPAPP的漏洞: http://wooyun.org/bugs/wooyun-2010-055604,然后去官网看了看,前几天刚有更新,就在官网下了PHPAPP最新的v2.6来看看(2014-12-11更新的)。 PSOT注入点:wwww.xxx.com/member.php?action=1&app=42&cid=85&rid=973, 存在漏洞的文件在/phpapp/apps/rights/member_phpapp.php 下面分析一下漏洞产生的原因 第一处绕过: 先看看是如何得到$_POST中的内容的,$this->POST=$this->POSTArray();如果key的最后一个字母是’_s’时,用户的输入会经过str方法的防注处理。而如果key(参数)的最后一个字母不是’_s’,则可以功能绕过过滤! 第二处绕过: ``` if($this->cid>0){ $getprocess=new TaskProcess(); $consumearr=$this->GetMysqlOne('a.*,b.oid,b.tid,b.buyeruid,b.selleruid,b.runid'," ".$this->GetTable('consume')." AS a JOIN ".$this->GetTable('task_order')." AS b ON a.cid=b.cid WHERE a.cid='$this->cid' AND a.process=5 AND b.buyeruid='$this->uid'"); //认证 $selleruid=$consumearr['selleruid']; $issellersecurity=0; if($this->IsSQL('member_security_certificate'," WHERE sid=1 AND uid='$selleruid' ")){ $issellersecurity=1; } if($this->rid>0){ $refund=$this->GetMysqlOne('*'," ".$this->GetTable('rights')." WHERE...

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