🇰🇷 한글 설명
node.js용 Closure Compiler는 바이너리 리소스를 HTTP를 통해 다운로드하므로 중간자 공격(MITM)에 취약합니다. 공격자가 네트워크 중간에 위치할 경우, 요청된 바이너리를 악성 바이너리로 교체하여 원격 코드 실행(RCE)을 유발할 수 있습니다.
💡 쉬운 설명
프로그램이 필요한 파일을 가져올 때 보안이 취약한 통로를 사용하여, 해커가 중간에서 가짜 파일을 끼워 넣을 수 있습니다. 이를 통해 해커가 사용자의 컴퓨터에서 몰래 명령을 실행할 위험이 있습니다.
🇺🇸 원문 (English)
closurecompiler is a Closure Compiler for node.js. closurecompiler downloads binary resources over HTTP, which leaves it vulnerable to MITM attacks. It may be possible to cause remote code execution (RCE) by swapping out the requested binary with an attacker controlled binary if the attacker is on the network or positioned in between the user and the remote server.
📍 영향받는 시스템
node.js용 closurecompiler (HTTP 다운로드 기능을 사용하는 버전)
⚔️ 공격 벡터
네트워크 중간자 공격(MITM)을 통한 바이너리 파일 교체
🛡️ 대응 방법
HTTP 대신 HTTPS를 사용하도록 설정을 변경하거나, 신뢰할 수 있는 네트워크 환경에서 실행하십시오.
🔧 검증 코드
설치된 closurecompiler의 존재 여부와 버전을 확인하여 취약한 환경인지 판단합니다.
npm list -g closurecompiler --depth=0 2>/dev/null