BEESCMS V4.0 存在SQL注入

国庆期间看的 /mx_form/order_save.php $ip=fl_value(get_ip()); //获取ip //过滤函数 $ip=fl_html($ip); //htmlspecialchars $member_id=empty($_SESSION['id'])?0:$_SESSION['id']; $arc_id=empty($f_id)?0:intval($_POST['f_id']); $sql="insert into ".DB_PRE."formlist (form_id,form_time,form_ip,member_id,arc_id) values ({$form_id},{$addtime},'{$ip}','{$member_id}','{$arc_id}')"; $mysql->query($sql); $last_id=$mysql->insert_id(); $sql_field='id'.$sql_field; $sql_value=$last_id.$sql_value; $sql="insert into ".DB_PRE."{$table} ({$sql_field}) values ({$sql_value})"; $mysql->query($sql); 跟函数fl_value() fl_value() 对关键函数进行了过滤,不过貌似没有什么卵用 ./includes/fun.php...