[KVE-2018-2443] 영카트 SQL Injection 취약점 수정

This commit is contained in:
thisgun committed 2019-02-13 12:19:19 +09:00
1 parent f121c8e708
commit b6d9260f3a
3 files changed
+11

No files matched your search

+1
View File
@@ -4,6 +4,7 @@ include_once('../common.php');
if (isset($_REQUEST['sort'])) {
$sort = trim($_REQUEST['sort']);
$sort = preg_replace("/[\<\>\'\"\\\'\\\"\%\=\(\)\s]/", "", $sort);
$sort = preg_replace("/(--|#|\/\*|\*\/)/", "", $sort);
} else {
$sort = '';
}