CVE-2024-52005
HIGHGit < 2.40.4 - Terminal Control Sequence Injection via Sideband Channel
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2024-52005. PoCs published by andrewd-cg.
AI-analyzed exploit summary This repository contains a functional PoC for CVE-2024-52005, demonstrating ANSI escape sequence injection in Git via sideband channels. The exploit includes scripts to test vulnerable Git versions and frameworks to generate malicious payloads for social engineering and log poisoning.
Description
Git is a source code management tool. When cloning from a server (or fetching, or pushing), informational or error messages are transported from the remote Git process to the client via the so-called "sideband channel". These messages will be prefixed with "remote:" and printed directly to the standard error output. Typically, this standard error output is connected to a terminal that understands ANSI escape sequences, which Git did not protect against. Most modern terminals support control sequences that can be used by a malicious actor to hide and misrepresent information, or to mislead the user into executing untrusted scripts. As requested on the git-security mailing list, the patches are under discussion on the public mailing list. Users are advised to update as soon as possible. Users unable to upgrade should avoid recursive clones unless they are from trusted sources.
Exploits (1)
This repository contains a functional PoC for CVE-2024-52005, demonstrating ANSI escape sequence injection in Git via sideband channels. The exploit includes scripts to test vulnerable Git versions and frameworks to generate malicious payloads for social engineering and log poisoning.
References (2)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H