🇰🇷 한글 설명
Node.js 6.x 및 이후 버전의 인스펙터(Inspector)에서 DNS 리바인딩 공격에 취약한 보안 결함이 발견되었습니다. 공격자는 악성 웹사이트를 통해 브라우저의 동일 출처 정책(SOP)을 우회하고 로컬 네트워크의 Node.js 디버그 포트에 접속하여 원격 코드 실행(RCE)을 수행할 수 있습니다.
💡 쉬운 설명
사용자가 악성 사이트에 접속하면, 해커가 사용자의 컴퓨터 내부에서 실행 중인 Node.js 프로그램에 몰래 접속할 수 있습니다. 이를 통해 해커는 사용자의 컴퓨터에서 마음대로 명령어를 실행할 수 있는 위험이 있습니다.
🇺🇸 원문 (English)
The Node.js inspector, in 6.x and later is vulnerable to a DNS rebinding attack which could be exploited to perform remote code execution. An attack is possible from malicious websites open in a web browser on the same computer, or another computer with network access to the computer running the Node.js process. A malicious website could use a DNS rebinding attack to trick the web browser to bypass same-origin-policy checks and to allow HTTP connections to localhost or to hosts on the local network. If a Node.js process with the debug port active is running on localhost or on a host on the local network, the malicious website could connect to it as a debugger, and get full code execution access.
📍 영향받는 시스템
Node.js 6.x 및 그 이후 버전 (디버그 포트가 활성화된 경우)
⚔️ 공격 벡터
DNS Rebinding을 이용한 웹 브라우저 기반의 로컬 네트워크 침투 및 원격 코드 실행
🛡️ 대응 방법
Node.js를 최신 보안 패치가 적용된 버전으로 업데이트하고, 운영 환경에서는 디버그 포트(Inspector)를 비활성화하십시오.
🔧 검증 코드
출력된 Node.js 버전이 6.x 미만이거나 보안 패치가 적용된 최신 버전인지 확인하십시오.