蝉知企业门户系统 v2.5 SQL 注入

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

<p>问题出在 用户修改资料的地方</p><pre class="">/system/module/user/control.php</pre><pre class="">public function edit($account = '') { if(!$account or RUN_MODE == 'front') $account = $this-&gt;app-&gt;user-&gt;account; if($this-&gt;app-&gt;user-&gt;account == 'guest') $this-&gt;locate(inlink('login')); if(!empty($_POST)) { $this-&gt;user-&gt;update($account); ....... </pre><p>跟进updata</p><p>/system/module/user/model.php</p><pre class="">public function update($account) { /* If the user want to change his password. */ if($this-&gt;post-&gt;password1 != false) { $this-&gt;checkPassword(); if(dao::isError()) return false; $password = $this-&gt;createPassword($this-&gt;post-&gt;password1, $account); $this-&gt;post-&gt;set('password', $password); } $user = fixer::input('post') -&gt;cleanInt('imobile, qq, zipcode') -&gt;setDefault('admin', 'no') -&gt;remove('ip, account, join, visits') -&gt;removeIF(RUN_MODE != 'admin', 'admin') -&gt;get(); return $this-&gt;dao-&gt;update(TABLE_USER)...

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