ThinkSAAS SQL注入

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

### 简要描述: ThinkSAAS SQL注入 ### 详细说明: 版本 ThinkSAAS 2.32 目前最新版。 app\group\action\do.php 281行 ``` //回复评论 case "recomment": if($_POST['token'] != $_SESSION['token']) { echo 1;exit; } $referid = intval($_POST['referid']); $topicid = intval($_POST['topicid']); $content = tsClean($_POST['content']); $addtime = time(); $db->query("insert into ".dbprefix."group_topic_comment (`referid`,`topicid`,`userid`,`content`,`addtime`) values ('$referid','$topicid','$userid','$content','$addtime')");//---------------注入在这里 //统计评论数 $count_comment = $db->once_num_rows("select * from ".dbprefix."group_topic_comment where topicid='$topicid'"); //更新帖子最后回应时间和评论数 $uptime = time(); $db->query("update ".dbprefix."group_topic set uptime='$uptime',count_comment='$count_comment' where topicid='$topicid'"); $strTopic = $db->once_fetch_assoc("select * from ".dbprefix."group_topic where topicid='$topicid'"); $strComment = $db->once_fetch_assoc("select * from ".dbprefix."group_topic_comment where...

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