From b6d9260f3a7bdab584f08bf53e3836b8a007c61b Mon Sep 17 00:00:00 2001 From: thisgun Date: Wed, 13 Feb 2019 12:19:19 +0900 Subject: [PATCH] =?UTF-8?q?[KVE-2018-2443]=20=EC=98=81=EC=B9=B4=ED=8A=B8?= =?UTF-8?q?=20SQL=20Injection=20=EC=B7=A8=EC=95=BD=EC=A0=90=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile/shop/list.php | 5 +++++ shop/_common.php | 1 + shop/list.php | 5 +++++ 3 files changed, 11 insertions(+) diff --git a/mobile/shop/list.php b/mobile/shop/list.php index 9ae99635b..b3232c48a 100644 --- a/mobile/shop/list.php +++ b/mobile/shop/list.php @@ -1,6 +1,11 @@ \'\"\\\'\\\"\%\=\(\)\s]/", "", $sort); + $sort = preg_replace("/(--|#|\/\*|\*\/)/", "", $sort); } else { $sort = ''; } diff --git a/shop/list.php b/shop/list.php index 7b9fdc706..5a3188318 100644 --- a/shop/list.php +++ b/shop/list.php @@ -1,6 +1,11 @@