security: KVE-2026-2140 주문 보호와 5.6.39 보안 업데이트 배포

This commit is contained in:
whitedot committed 2026-09-14 06:53:14 +00:00
1 parent 2517343d51
commit f7aa440a80
43 files changed
+1510 -328

No files matched your search

+9
View File
@@ -1,5 +1,7 @@
<?php
include_once('./_common.php');
include_once(G5_LIB_PATH.'/shop_order_access.lib.php');
shop_order_state_prepare(true);
include_once(G5_LIB_PATH.'/mailer.lib.php');
$page_return_url = G5_SHOP_URL.'/personalpayform.php?pp_id='.get_session('ss_personalpay_id');
@@ -215,6 +217,7 @@ $sql = " update {$g5['g5_shop_personalpay_table']}
pp_cash_no = '{$pg_receipt_infos['od_cash_no']}',
pp_cash_info = '{$pg_receipt_infos['od_cash_info']}'
where pp_id = '{$pp['pp_id']}' ";
shop_order_state_finalizing();
$result = sql_query($sql, false);
// 결제정보 입력 오류시 결제 취소
@@ -314,10 +317,16 @@ if($pp_receipt_price > 0 && $pp['pp_id'] && $pp['od_id']) {
}
}
// 완료한 개인결제의 임시 데이터 삭제
$sql = " delete from {$g5['g5_shop_order_data_table']} where od_id = '{$pp['pp_id']}' and dt_pg = '$pp_pg' ";
sql_query($sql);
// 개인결제번호제거
if (!empty($_POST['inicis_pro']) && function_exists('inicis_pro_audit_order_saved'))
inicis_pro_audit_order_saved($pp['pp_id'], $pp_tno, 'personal', 'web');
include_once(G5_LIB_PATH.'/shop_order_access.lib.php');
shop_order_access_forget((string)$pp['pp_id']);
set_session('ss_personalpay_id', '');
set_session('ss_personalpay_hash', '');