🇰🇷 한글 설명
Electron 프레임워크의 특정 버전에서 교차 출처 iframe의 pointerLock 권한 요청 시, 요청 주소가 최상위 프레임의 정보로 잘못 전달되는 취약점이 발견되었습니다. 이로 인해 신뢰할 수 없는 iframe이 최상위 페이지의 권한을 탈취하여 포인터 잠금 기능을 사용할 수 있습니다. 해당 문제는 Electron 42.11.9, 43.7.6, 44.5.0, 45.0.0-alpha.13 버전에서 수정되었습니다.
💡 쉬운 설명
웹사이트 안에 들어있는 다른 사이트가 마치 원래 사이트인 것처럼 속여서 마우스 커서를 제어할 수 있는 권한을 얻을 수 있는 문제입니다. 보안이 취약한 앱을 사용하면 공격자가 사용자의 마우스 움직임을 제한하거나 조작할 위험이 있습니다.
🇺🇸 원문 (English)
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 42.11.9, 43.7.6, 44.5.0, and 45.0.0-alpha.13, pointerLock permission requests from some cross-origin iframes caused session.setPermissionRequestHandler() to receive the top-level frame's requestingUrl and isMainFrame values instead of those of the requesting frame. An application that embeds untrusted iframe content and grants pointer lock based on the requesting origin could therefore grant the permission under the top-level page's identity. Applications that deny pointerLock for untrusted embedded content are not affected. This issue is fixed in versions 42.11.9, 43.7.6, 44.5.0, and 45.0.0-alpha.13.
📍 영향받는 시스템
Electron versions prior to 42.11.9, 43.7.6, 44.5.0, and 45.0.0-alpha.13
⚔️ 공격 벡터
신뢰할 수 없는 iframe을 포함한 Electron 애플리케이션에서 교차 출처 권한 요청을 통한 권한 탈취
🛡️ 대응 방법
Electron 프레임워크를 수정된 버전(42.11.9, 43.7.6, 44.5.0, 45.0.0-alpha.13 이상)으로 업데이트하십시오.
🔧 검증 코드
출력된 Electron 버전을 확인하여 취약한 버전 범위에 해당하는지 대조하십시오.
npm list electron | grep electron