KVE-2019-1024 RCE 취약점 수정

This commit is contained in:
thisgun
2019-06-18 15:25:54 +09:00
parent 8797c8cd96
commit b133949b1c

View File

@ -13,6 +13,7 @@ $req_tx = 'mod_escrow';
$mod_type = 'STE1';
$mod_desc = '에스크로 배송시작 등록';
$cust_ip = getenv('REMOTE_ADDR');
$ordr_idxx = isset($ordr_idxx) ? preg_replace('/[^a-z0-9_\-]/i', '', $ordr_idxx) : '';
$c_PayPlus = new C_PP_CLI_T;
$c_PayPlus->mf_clear();
@ -28,7 +29,7 @@ $c_PayPlus->mf_set_modx_data( "mod_desc", $mod_desc );
$c_PayPlus->mf_set_modx_data( "deli_numb", $escrow_numb );
$c_PayPlus->mf_set_modx_data( "deli_corp", $escrow_corp );
$c_PayPlus->mf_do_tx( $trace_no, $g_conf_home_dir, $g_conf_site_cd, $g_conf_site_key, $tran_cd, "",
$c_PayPlus->mf_do_tx( '', $g_conf_home_dir, $g_conf_site_cd, $g_conf_site_key, $tran_cd, "",
$g_conf_gw_url, $g_conf_gw_port, "payplus_cli_slib", $ordr_idxx,
$cust_ip, "3" , 0, 0, $g_conf_key_dir, $g_conf_log_dir); // 응답 전문 처리