Discuz! X3.1 逻辑错误漏洞

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

<p>Discuz! X3.1&nbsp;<br></p><p>在完成任务时(home.php?mod=draw&amp;do=view&amp;id=xx),任务先前的状态缺少判断</p><p>完成任务的链接形如:</p><pre class=""><code style="margin: 0px; font-family: 'Lucida Console', 'Courier New', Courier, mono, monospace; color: rgb(51, 51, 51); background-color: rgb(248, 248, 248);">home.php?mod=draw&amp;do=view&amp;id=xx</code></pre><p>这个地址最终在 source\class\class_task.php 中被处理</p><p>约第370行:</p><pre class=""><code style="margin: 0px; font-family: 'Lucida Console', 'Courier New', Courier, mono, monospace; color: rgb(51, 51, 51); background-color: rgb(248, 248, 248);">function draw($id) {<br style="margin: 0px; padding: 0px;"> global $_G;<br style="margin: 0px; padding: 0px;"> if(!($this-&gt;task = C::t('common_task')-&gt;fetch_by_uid($_G['uid'], $id))) {<br style="margin: 0px; padding: 0px;"> showmessage('task_nonexistence');<br style="margin: 0px; padding: 0px;"> } elseif($this-&gt;task['status'] != 0) {<br style="margin: 0px; padding: 0px;"> showmessage('task_not_underway');<br...

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