fix(security): KVE-2026-1914/1915/1919 remediation 전건

위임 관리자(부관리자)가 권한·역할·표현식·비밀 콘텐츠 경계를 우회하던
결함군을 계층 대칭성 원칙으로 전건 차단한다. 약한 경로가 정상 응답을
내보내는 것이 유일한 증상이라, 게이트를 생산 지점 한 곳(SSoT)에 두고
같은 데이터를 내보내는 소비 경로 전부가 그 게이트를 경유하도록 맞췄다.

- 등급 상한(rank ceiling): 슈퍼관리자 보호·역할/사용자 역할 배정(추가·제거
 대칭)·일괄 상태변경·순서변경을 상세 경로와 동일 강도로 재적용. 가드는
 DB 쓰기에 선행하여 거부 시 상태 불변.
- 레이아웃 표현식: new Function/with 실행을 AST 화이트리스트 평가기로 교체.
 비-문자열 computed 키 정규화(normalizeKey)·Object facade(리플렉션 static
 제거)·legacy 접근자 차단. 저장측 검증·정적 검사와 3계층 동형.
- secret 게이트: 비밀글의 댓글·첨부·문의 독립 경로 재적용, hash 파일서빙
 소유권·비밀·발행 상태 검사 통일.
- 신뢰 스크립트 호스트: 확장 선언 기반 + same-origin 브라우저 정규화를
 런타임·저장측·정적검사 3층 동형화.
- 회귀 감지: 단위·Feature·E2E·시나리오 매니페스트 전축 + audit 룰 4종 신설.
This commit is contained in:
HeuJung committed 2026-08-17 01:45:09 +09:00
1 parent cd84b63d2b
commit 71abdeaf60
249 files changed
+14354 -1134

No files matched your search

@@ -15,6 +15,11 @@
- 코어 최소 요구 버전을 7.0.7 로 상향했습니다.
### Changed
- 코어 7.0.7의 외부 스크립트 보안 정책 강화에 맞춰, 에디터가 사용하는 CKEditor CDN 주소(`cdn.ckeditor.com`)를 이 플러그인의 신뢰 출처로 선언했습니다. 정책이 강화된 이후에도 위지윅 에디터가 정상적으로 로드됩니다.
- 신뢰 출처 선언 기능이 코어 7.0.7에서 도입되었으므로, 설치에 필요한 최소 코어 버전을 7.0.7로 조정했습니다.
## [1.0.1] - 2026-08-10
### Changed
@@ -18,6 +18,9 @@
},
"github_url": "https://github.com/gnuboard/g7-plugin-sirsoft-ckeditor5",
"github_changelog_url": "https://github.com/gnuboard/g7-plugin-sirsoft-ckeditor5/blob/main/CHANGELOG.md",
"trusted_script_hosts": [
"cdn.ckeditor.com"
],
"assets": {
"js": {
"entry": "resources/js/index.ts",
@@ -4,6 +4,13 @@
형식은 [Keep a Changelog](https://keepachangelog.com/ko/1.1.0/)를 따르며,
[Semantic Versioning](https://semver.org/lang/ko/)을 준수합니다.
## [1.0.2] - 2026-08-13
### Changed
- 코어 7.0.7의 외부 스크립트 보안 정책 강화에 맞춰, 주소 검색에 쓰는 Daum 우편번호 스크립트 주소(`t1.daumcdn.net`)를 이 플러그인의 신뢰 출처로 선언했습니다. 정책이 강화된 이후에도 주소 검색 창이 정상적으로 열립니다.
- 신뢰 출처 선언 기능이 코어 7.0.7에서 도입되었으므로, 설치에 필요한 최소 코어 버전을 7.0.7로 조정했습니다.
## [1.0.1] - 2026-08-10
### Fixed
@@ -2,7 +2,7 @@
"name": "plugins/sirsoft-daum_postcode",
"description": "Daum Postcode Service Plugin for Gnuboard7 platform",
"type": "library",
"version": "1.0.1",
"version": "1.0.2",
"authors": [
{
"name": "sirsoft",
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "@g7/sirsoft-daum_postcode",
"version": "1.0.1",
"version": "1.0.2",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@g7/sirsoft-daum_postcode",
"version": "1.0.1",
"version": "1.0.2",
"devDependencies": {
"typescript": "^5.3.3",
"vite": "^5.4.14"
@@ -1,6 +1,6 @@
{
"name": "@g7/sirsoft-daum_postcode",
"version": "1.0.1",
"version": "1.0.2",
"description": "그누보드7 Daum 우편번호 플러그인 프론트엔드 에셋",
"private": true,
"type": "module",
@@ -5,19 +5,22 @@
"ko": "Daum 우편번호",
"en": "Daum Postcode"
},
"version": "1.0.1",
"version": "1.0.2",
"license": "MIT",
"description": {
"ko": "Daum 우편번호 서비스를 통한 주소 검색 기능을 제공하는 플러그인입니다. API 키 없이 무료로 사용할 수 있습니다.",
"en": "Plugin that provides address search functionality through Daum Postcode service. Free to use without API key."
},
"g7_version": ">=7.0.0",
"g7_version": ">=7.0.7",
"dependencies": {
"modules": {},
"plugins": {}
},
"github_url": "https://github.com/gnuboard/g7-plugin-sirsoft-daum_postcode",
"github_changelog_url": "https://github.com/gnuboard/g7-plugin-sirsoft-daum_postcode/blob/main/CHANGELOG.md",
"trusted_script_hosts": [
"t1.daumcdn.net"
],
"assets": {
"js": {
"entry": "resources/js/index.ts",
@@ -59,10 +59,11 @@ effects:
- restore_replaces_blocked_script_with_fresh_one_when_granted
- restore_no_op_when_consent_still_denied
test_files:
- plugins/_bundled/sirsoft-gdpr/resources/js/__tests__/preblocker.test.ts
audit:
status: codified
test_files:
- resources/js/__tests__/preblocker.test.ts
rules:
- id: preblocker-prototype-intercept
kind: prototype_setter
@@ -8,8 +8,11 @@
* KCP 표준창 내부(외부 도메인)는 자동화 대상이 아니다 — 인증창이 열리는 것까지만 확인 가능하며
* 통신사 인증 완주는 실 휴대폰이 필요해 사람이 검증한다.
*
* @scenario mode=test,live_credentials=complete + mode=live,live_credentials=missing_site_cd
* @effects live_mode_requires_site_cd_and_enc_key + test_mode_saves_without_live_credentials
* 축 요약(마커 아님 — 평문): mode=test / live_credentials=complete 조합과
* mode=live / live_credentials=missing_site_cd 조합. 두 조합은 각 test 의 마커가 잠그며,
* 여기에 마커로 다시 적으면 파서가 항목을 쉼표로만 나누어 두 조합이 한 문자열로 뭉친다.
*
* 효과 요약(마커 아님 — 평문): live_mode_requires_site_cd_and_enc_key, test_mode_saves_without_live_credentials.
*/
import { test, expect, authenticatePage } from '../../fixtures/nhnkcp-auth';