KVE-2019-0829 영카트 XSS 취약점 수정
This commit is contained in:
@ -17,7 +17,7 @@ for ($i=0; $i<$count; $i++)
|
||||
// 실제 번호를 넘김
|
||||
$k = $_POST['chk'][$i];
|
||||
|
||||
$sql = " delete from {$g5['g5_shop_coupon_table']} where cp_id = '{$_POST['cp_id'][$k]}' ";
|
||||
$sql = " delete from {$g5['g5_shop_coupon_table']} where cp_id = '".preg_replace('/[^a-z0-9_\-]/i', '', $_POST['cp_id'][$k])."' ";
|
||||
sql_query($sql);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user