🇰🇷 한글 설명
Electron 프레임워크에서 새 창으로 열리는 링크를 애플리케이션이 직접 시작한 탐색으로 잘못 처리하는 취약점이 발견되었습니다. 이로 인해 SameSite=Strict 쿠키가 전송되고 Sec-Fetch-Site 식별이 누락되어, 신뢰할 수 없는 콘텐츠가 CSRF 보호를 우회하여 자격 증명이 포함된 요청을 보낼 수 있습니다.
💡 쉬운 설명
웹사이트에서 링크를 눌러 새 창을 열 때, 보안 시스템이 이를 사용자가 직접 요청한 것으로 착각하여 중요한 로그인 정보를 함께 보내버리는 문제입니다. 이를 통해 해커가 사용자의 권한을 도용해 다른 사이트에 원치 않는 동작을 수행하게 만들 수 있습니다.
🇺🇸 원문 (English)
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 42.11.3, 43.7.0, 44.3.0, and 45.0.0-alpha.6, Electron treated pages opened into a new window from links as application-initiated navigations instead of preserving the page containing the link as the initiator. The resulting top-level request could be classified as same-site, causing SameSite=Strict cookies to be sent and Sec-Fetch-Site not to identify the initiating page. An application that loads untrusted content and permits it to open new windows could therefore allow that content to make a credentialed request to another site that relies on SameSite cookies for CSRF protection. This issue is fixed in versions 42.11.3, 43.7.0, 44.3.0, and 45.0.0-alpha.6.
📍 영향받는 시스템
Electron versions prior to 42.11.3, 43.7.0, 44.3.0, and 45.0.0-alpha.6
⚔️ 공격 벡터
신뢰할 수 없는 콘텐츠가 포함된 페이지를 통해 사용자의 브라우저 세션 쿠키를 이용한 CSRF 공격 수행
🛡️ 대응 방법
Electron을 최신 보안 패치가 적용된 버전(42.11.3, 43.7.0, 44.3.0, 45.0.0-alpha.6 이상)으로 업데이트
🔧 검증 코드
출력된 Electron의 버전을 확인하여 취약점이 해결된 버전인지 대조
npm list electron | grep electron
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
💻 영향받는 소프트웨어
Storage Protect Snapshot for Windows