🇰🇷 한글 설명
macOS용 Notion 3.1.0 이하 버전에서 RunAsNode 및 enableNodeClilnspectArguments 설정으로 인해 코드 실행이 가능할 수 있습니다. 공격자가 Notion 데스크톱 앱을 비표준 플래그와 함께 실행하여 Electron 기반 앱을 Node.js 실행 환경으로 전환해야 합니다.
💡 쉬운 설명
노션 앱을 실행할 때 특수한 명령어를 섞어서 실행하면 해커가 컴퓨터에서 원하는 명령을 내릴 수 있는 취약점입니다. 다만, 사용자가 직접 특수한 방식으로 앱을 실행해야만 공격이 성립됩니다.
🇺🇸 원문 (English)
Notion through 3.1.0 on macOS might allow code execution because of RunAsNode and enableNodeClilnspectArguments. NOTE: the vendor states "the attacker must launch the Notion Desktop application with nonstandard flags that turn the Electron-based application into a Node.js execution environment."
📍 영향받는 시스템
macOS용 Notion 3.1.0 이하 버전
⚔️ 공격 벡터
비표준 플래그를 사용하여 Notion 데스크톱 애플리케이션을 Node.js 실행 환경으로 강제 전환하여 실행
🛡️ 대응 방법
Notion 애플리케이션을 최신 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 3.1.0 이하인지 확인하십시오.
osascript -e 'id of application "Notion"' 2>/dev/null && mdfind "kMDItemCFBundleIdentifier == 'com.notion.mac'" | xargs mdls -name kMDItemVersion