
셸 스크립트로 Linux 및 macOS 시스템에서 CVE-2024-3094(xz-utils 백도어)를 탐지하며, 자동 점검 및 수정 지침을 제공합니다.
이 취약점은 공격자가 SSH 인증을 통과하지 않고 서버에 로그인하여 임의 코드를 실행할 수 있게 합니다. 자세한 내용은 다음을 참조하세요: https://www.openwall.com/lists/oss-security/2024/03/29/4
사용 방법
curl -fsSL https://raw.githubusercontent.com/wgetnz/CVE-2024-3094-check/main/CVE-2024-3094-check.sh| bash
또는
curl -fsSL https://github.freedns.uk/https://raw.githubusercontent.com/wgetnz/CVE-2024-3094-check/main/CVE-2024-3094-check.sh| bash
호스트가 오프라인인 경우 다음 명령어를 사용하세요.
Debian/Ubuntu의 경우:
apt list --installed 2>&1 | grep xz | grep -E '5.6.0|5.6.1' && echo "Check your system now" || echo "Everything is ok"
macOS의 경우:
brew info xz | grep xz | grep -E '5.6.0|5.6.1' && echo 'Check your system now' || echo 'Everything is ok'
해결 방법: xz-utils를 다운그레이드하세요.
macOS 해결 방법: brew install xz
질문이 있으시면 이슈를 남겨주세요. 이 프로젝트가 도움이 되셨다면 스타를 눌러주세요.