🇰🇷 한글 설명
binwalk 2.4.3 이하의 WinCE 추출 플러그인에서 self.file_name 인자 조작을 통한 경로 탐색 취약점이 발견되었습니다. 이는 로컬 환경에서만 공격 가능하며, 해당 제품은 EOL 상태이므로 binwalk v3로의 마이그레이션이 권장됩니다.
💡 쉬운 설명
binwalk 프로그램의 파일 처리 부분에서 공격자가 시스템의 다른 폴더에 접근할 수 있는 취약점입니다. 자신의 컴퓨터에서만 악용 가능하며, 더 이상 지원되지 않는 구형 버전에만 영향을 줍니다.
🇺🇸 원문 (English)
A security vulnerability has been detected in OSPG binwalk up to 2.4.3. This vulnerability affects the function read_null_terminated_string of the file src/binwalk/plugins/winceextract.py of the component WinCE Extraction Plugin. Such manipulation of the argument self.file_name leads to path traversal. The attack can only be performed from a local environment. The exploit has been disclosed publicly and may be used. The project maintainer confirms this issue: "I accept the existence of the Path Traversal vulnerability. However, as stated in the Github link, it reached EOL and as a result no actions should be expected." The GitHub repository mentions, that "[u]sers and contributors should migrate to binwalk v3." This vulnerability only affects products that are no longer supported by the maintainer.
📍 영향받는 시스템
binwalk 버전 2.4.3 이하 (WinCE Extraction Plugin)
⚔️ 공격 벡터
로컬 사용자가 read_null_terminated_string 함수의 self.file_name 인자를 조작하여 경로 탐색 공격 수행
🛡️ 대응 방법
binwalk v3로 즉시 업그레이드하거나, 로컬 시스템 접근 권한 제한
🔧 검증 코드
버전 번호가 2.4.3 이하면 취약, 3.0 이상이면 안전합니다.
dpkg -l binwalk 2>/dev/null | grep -oP 'binwalk\s+\K[0-9.]+' || python3 -c "import binwalk; print(binwalk.__version__)" 2>/dev/null