Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2017-1000117 PoC — Git 命令注入漏洞

Source
Associated Vulnerability
Title:Git 命令注入漏洞 (CVE-2017-1000117)
Description:A malicious third-party can give a crafted "ssh://..." URL to an unsuspecting victim, and an attempt to visit the URL can result in any program that exists on the victim's machine being executed. Such a URL could be placed in the .gitmodules file of a malicious project, and an unsuspecting victim could be tricked into running "git clone --recurse-submodules" to trigger the vulnerability.
Readme
# git-client-rce
### This PoC is only for educational purpose!!!
Test GIT Repo for git-client-rce PoC ( CVE-2017-1000117 )

https://marc.info/?l=git&m=150238802328673&w=2

This CVE affects all the git clients < v2.14.1

Execute following on test system to see PoC :

$git clone --recursive https://github.com/thelastbyte/CVE-2017-1000117.git

Successful execution will result in copying content of /etc/passwd to /tmp/pwned.txt
File Snapshot

[4.0K] /data/pocs/ead76f71bd4c9a12a560091bc496247bfed6997f ├── [4.0K] JSResourceDetector ├── [4.0K] OSCE ├── [ 428] README.md └── [ 68] runthis 2 directories, 2 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →