Git
Git for Windows: `git clone` from manipulated repositories can leak NTLM hashes to arbitrary servers
Git for Windows is the Windows port of Git. Versions prior to 2.53.0.windows.3 do not have protections that prevent attackers from obtaining a user's NTLM hash. The NTLM hash can be obtained by tricking users into cloning a malicious repository, or checking out a malicious branch, that accesses an attacker-controlled server. By default, NTLM authentication does not need any user interaction. By brute-forcing the NTLMv2 hash (which is expensive, but possible), credentials can be extracted. This issue has been fixed in version 2.53.0.windows.3.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.53.0.windows.3
Fixed in 2.53.0.windows.3
Mitigation
Upgrade git to 2.53.0.windows.3 or later.
References
- Vendor advisory github.com/git-for-windows/git/security/adviso…
- Release notes github.com/git-for-windows/git/releases/tag/v2…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.