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

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

缺陷编号:
漏洞标题:
Iwebsns sql 第二枚。
相关厂商:
漏洞作者:
提交时间:
2014-05-12 10:46
修复时间:
2014-08-10 10:48
公开时间:
2014-08-10 10:48
漏洞类型:
SQL注射漏洞
危害等级:
自评Rank:
20
漏洞状态:
未联系到厂商或者厂商积极忽略
漏洞来源:
http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]
Tags标签:
分享漏洞:
4人收藏 收藏
分享漏洞:

>

漏洞详情

披露状态:

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

简要描述:

过滤不严。

详细说明:

在action/users/user_info.action.php中

$user_id =get_sess_userid();
$model = short_check(get_argg('model'));
$birth_year = short_check(get_argp('birth_year'));
$birth_month = short_check(get_argp('birth_month'));
$birth_day = short_check(get_argp('birth_day'));
$reside_city = short_check(get_argp('reside_city'));
$reside_province = short_check(get_argp('reside_province'));
$birth_city = short_check(get_argp('birth_city'));
$birth_province = short_check(get_argp('birth_province'));
$is_finish=intval(get_argg('is_finish'));
$info = get_argp('info');


可以看到$info 没有经过short_check的过滤。 看看后面的。

if(!empty($info)){
foreach($info as $key => $value){
if($value!==''){
$key=explode('|',$key);
$sql="insert into $t_user_info (user_id,info_id,info_value) values ($user_id,'".$key[0]."','$value')";
echo $sql;

$dbo -> exeUpdate($sql);
}
}
}


foreach出来 就带入了insert中 我把语句输出来一下把。

漏洞证明:

i2.jpg


i3.jpg

修复方案:

short_check

版权声明:转载请注明来源 ′雨。@乌云


>

漏洞回应

厂商回应:

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