KVE-2018-0729 영카트 원격코드인젝션 취약점 수정
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user