KVE-2018-0729 영카트 원격코드인젝션 취약점 수정

This commit is contained in:
thisgun committed 2018-09-06 13:34:49 +09:00
1 parent d21010276a
commit 3df899179f
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -2245,7 +2245,7 @@ function get_shop_order_data($od_id, $type='item')
{
global $g5;
$od_id = clean_xss_tags($od_id);
$od_id = preg_replace('/[^0-9a-z_-]/i', '', clean_xss_tags($od_id));
if( $type == 'personal' ){
$row = sql_fetch("select * from {$g5['g5_shop_personalpay_table']} where pp_id = $od_id ", false);