🇰🇷 한글 설명
Git for Windows의 특정 버전에서 악의적인 원격 서버가 번들 URI를 광고할 경우, 클론 또는 페치 과정에서 로컬 파일 시스템 경로로 처리될 수 있는 취약점이 존재합니다. 공격자가 제어하는 UNC 경로를 통해 Windows가 SMB 연결을 시도하게 유도함으로써 NTLM 인증 정보를 탈취할 수 있습니다.
💡 쉬운 설명
가짜 Git 서버를 통해 내 컴퓨터가 공격자의 서버에 자동으로 접속하게 만들어, 로그인 정보를 몰래 빼가는 공격입니다. Git을 업데이트하지 않으면 내 컴퓨터의 중요한 인증 정보가 유출될 수 있습니다.
🇺🇸 원문 (English)
Git for Windows is the Windows port of Git. Prior to 2.55.0.windows.4, a malicious remote Git server can advertise a bundle URI that reaches transport_get_remote_bundle_uri(), fetch_bundle_uri_internal(), and copy_uri_to_file() in bundle-uri.c during clone or fetch when transfer.bundleuri=true. Non-HTTP(S) values are treated as local filesystem paths, and file URI prefixes are removed, so a bare UNC path or file URI targeting an attacker-controlled share causes Windows to initiate an outbound SMB connection. This can expose NTLM authentication material to the attacker-selected host. This issue is fixed in version 2.55.0.windows.4.
📍 영향받는 시스템
Git for Windows 2.55.0.windows.4 미만 버전
⚔️ 공격 벡터
악의적인 원격 Git 서버가 조작된 번들 URI를 제공하여 사용자의 SMB 연결 및 NTLM 인증을 유도함
🛡️ 대응 방법
Git for Windows를 2.55.0.windows.4 이상 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 버전이 2.55.0.windows.4보다 낮으면 취약한 상태입니다.