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

+3
View File
@@ -0,0 +1,3 @@
# Apache 2.4: 마이그레이션 파일의 HTTP 접근을 차단한다.
# 서버 내부에서 PHP가 SQL 파일을 읽는 동작에는 영향을 주지 않는다.
Require all denied
@@ -0,0 +1,18 @@
-- @description KVE-2026-2140 주문별 복귀 인증과 영속 승인 상태
-- @if-table-exists {{g5_shop_order_data_table}}
-- @if-table-missing {{g5_shop_order_access_table}}
CREATE TABLE {{g5_shop_order_access_table}} (
od_id bigint(20) unsigned NOT NULL,
token_hash char(64) NOT NULL DEFAULT '',
pg varchar(20) NOT NULL DEFAULT '',
cart_id bigint(20) unsigned NOT NULL DEFAULT '0',
status varchar(20) NOT NULL DEFAULT 'pending',
expires bigint(20) NOT NULL DEFAULT '0',
updated_at bigint(20) NOT NULL DEFAULT '0',
state_json mediumtext NOT NULL,
payment_key varchar(200) NOT NULL DEFAULT '',
response_json mediumtext NOT NULL,
PRIMARY KEY (od_id),
KEY cart_status (cart_id,status),
KEY state_expiry (status,expires)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;