🇰🇷 한글 설명
NexTor IP Changer 2.0.0 미만 버전에서 명령 실행 취약점이 발견되었습니다. 이 취약점은 PATH 환경 변수를 통해 실행 파일을 찾는 과정에서 shell=True를 안전하지 않게 사용하여 발생하며, 공격자가 환경 변수를 조작하여 악성 코드를 실행할 수 있습니다.
💡 쉬운 설명
프로그램이 명령어를 실행할 때 컴퓨터의 경로를 확인하는 과정에서 보안 허점이 있습니다. 공격자가 가짜 명령어를 미리 준비해두면 프로그램이 이를 실행하여 컴퓨터를 장악할 수 있습니다.
🇺🇸 원문 (English)
NexTor IP Changer is a command-line tool that leverages the Tor network to periodically rotate a user's IP address. Versions prior to 2.0.0 have a command execution vulnerability due to unsafe use of `shell=True` with commands that rely on executable resolution through the `PATH` environment variable. An attacker controlling the execution environment can place malicious executables such as sudo earlier in the `PATH`, resulting in execution of attacker-controlled code. Version 2.0.0 fixes the issue.
📍 영향받는 시스템
NexTor IP Changer 2.0.0 미만 모든 버전
⚔️ 공격 벡터
PATH 환경 변수 조작을 통한 악성 실행 파일 주입 및 명령 실행
🛡️ 대응 방법
NexTor IP Changer를 최신 버전인 2.0.0 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 2.0.0 미만인지 확인하여 취약 여부를 판단합니다.
nexTor-ip-changer --version 2>/dev/null || echo 'Version check failed'