KVE-2018-1772, 1808, 1817 취약점 수정

This commit is contained in:
thisgun
2018-12-12 16:58:22 +09:00
parent 013b67a63b
commit e620f6aafa
13 changed files with 29 additions and 14 deletions

View File

@ -1,8 +1,8 @@
<?php
include_once('./_common.php');
$it_id = $_GET['it_id'];
$no = $_GET['no'];
$it_id = get_search_string(trim($_GET['it_id']));
$no = preg_replace('/[^0-9a-z]/i', '', $_GET['no']);
$sql = " select it_id, it_name, it_img1, it_img2, it_img3, it_img4, it_img5, it_img6, it_img7, it_img8, it_img9, it_img10
from {$g5['g5_shop_item_table']} where it_id='$it_id' ";