[KVE-2026-0570]그누보드,영카트 SQL Injection 취약점 수정

This commit is contained in:
thisgun committed 2026-03-30 12:01:44 +00:00
1 parent c3db9b454e
commit 82574fd4a8
11 files changed
+33

No files matched your search

+3
View File
@@ -23,6 +23,9 @@ if (!$sst) {
$sst = "a.mb_id, au_menu";
$sod = "";
}
$allowed_sst = array('a.mb_id', 'mb_nick', 'au_menu', 'au_auth', 'a.mb_id, au_menu');
if ($sst && !in_array($sst, $allowed_sst)) $sst = 'a.mb_id, au_menu';
if ($sod && !in_array(strtolower($sod), array('asc', 'desc'))) $sod = '';
$sql_order = " order by $sst $sod ";
$sql = " select count(*) as cnt