🇰🇷 한글 설명
Electron 프레임워크에서 샌드박스 처리된 최상위 문서가 새 창을 열 때 해당 문서의 HTML 샌드박스 제한 사항을 상속하지 않는 취약점이 발견되었습니다. 이로 인해 신뢰할 수 없는 콘텐츠가 팝업을 생성할 경우, 제한된 권한이 아닌 애플리케이션의 전체 권한을 가진 창을 생성할 수 있습니다. 이는 41.10.6, 42.9.2, 43.4.1 및 44.0.0-beta.5 버전에서 수정되었습니다.
💡 쉬운 설명
보안 제한이 걸린 웹 페이지에서 새 창을 띄울 때, 그 제한이 풀려버리는 보안 구멍이 발견되었습니다. 공격자가 이 점을 이용하면 제한된 환경을 벗어나 컴퓨터의 더 많은 권한을 가진 창을 마음대로 열 수 있습니다.
🇺🇸 원문 (English)
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 41.10.6, 42.9.2, 43.4.1, and 44.0.0-beta.5, windows opened from a sandboxed top-level document did not inherit that document's active HTML sandbox restrictions. Untrusted content in a sandboxed top-level document that was permitted to open popups could therefore create a window with the Electron application's full origin instead of the restricted origin intended by the sandbox. Applications that deny such popups with setWindowOpenHandler are not affected. This issue is fixed in versions 41.10.6, 42.9.2, 43.4.1, and 44.0.0-beta.5.
📍 영향받는 시스템
Electron versions prior to 41.10.6, 42.9.2, 43.4.1, and 44.0.0-beta.5
⚔️ 공격 벡터
샌드박스된 문서 내의 신뢰할 수 없는 콘텐츠가 팝업을 생성하여 애플리케이션의 전체 권한을 가진 새 창을 여는 방식
🛡️ 대응 방법
Electron을 수정된 버전(41.10.6, 42.9.2, 43.4.1, 44.0.0-beta.5 이상)으로 업데이트하거나 setWindowOpenHandler를 사용하여 팝업을 차단하십시오.
🔧 검증 코드
출력된 Electron 버전을 확인하여 취약점이 해결된 버전(41.10.6, 42.9.2, 43.4.1, 44.0.0-beta.5 이상)인지 대조합니다.
npm list electron | grep electron
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
💻 영향받는 소프트웨어
Storage Protect Snapshot for Windows