🔍 CVE-2017-12581

8.1
CVSS Score
HIGH
2017-08-06
2026-06-17 01:03
✅ 완료

🇰🇷 한글 설명

Electron 1.6.8 이전 버전에서 nodeIntegration 우회를 통한 원격 명령어 실행 취약점. Same Origin Policy 우회와 함께 내부 개발자 도구 URL을 악용하여 OS 명령어를 실행할 수 있음. Electron을 번들링한 모든 애플리케이션이 영향을 받을 수 있음.

💡 쉬운 설명

Electron 앱에서 악의적인 웹사이트가 컴퓨터의 명령을 실행할 수 있는 보안 결함입니다. 개발자 도구 기능을 악용하여 시스템 접근이 가능해집니다.

🇺🇸 원문 (English)

GitHub Electron before 1.6.8 allows remote command execution because of a nodeIntegration bypass vulnerability. This also affects all applications that bundle Electron code equivalent to 1.6.8 or earlier. Bypassing the Same Origin Policy (SOP) is a precondition; however, recent Electron versions do not have strict SOP enforcement. Combining an SOP bypass with a privileged URL internally used by Electron, it was possible to execute native Node.js primitives in order to run OS commands on the user's host. Specifically, a chrome-devtools://devtools/bundled/inspector.html window could be used to eval a Node.js child_process.execFile API call.

📍 영향받는 시스템

Electron 1.6.7 이전 버전 및 이를 번들링한 모든 데스크톱 애플리케이션

⚔️ 공격 벡터

SOP 우회 후 chrome-devtools://devtools/bundled/inspector.html 접근으로 Node.js child_process.execFile API 실행

🛡️ 대응 방법

Electron을 1.6.8 이상으로 업그레이드하고 nodeIntegration을 false로 설정

🔧 검증 코드

1.6.8 이상의 버전이 출력되면 안전함. 1.6.7 이하가 출력되면 즉시 업그레이드 필요.

Shell / Script
npm list electron 2>/dev/null | grep -oE 'electron@[0-9.]+' | head -1

📊 CVSS Vector String

CVSS Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Git