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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2018-11235 PoC — Git 安全漏洞

Source
Associated Vulnerability
Title:Git 安全漏洞 (CVE-2018-11235)
Description:Git是美国软件开发者林纳斯-托瓦兹(Linus Torvalds)所研发的一套免费、开源的分布式版本控制系统。 Git中存在安全漏洞,该漏洞源于在将子模块名称添加到$GIT_DIR/modules目录下时,程序没有正确的验证来自不可信.gitmodules文件的子模块名称。远程攻击者可借助特制的.gitmodules文件利用该漏洞执行任意代码。以下版本受到影响:Git 2.13.7之前版本,2.14.4之前的2.14.x版本,2.15.2之前的2.15.x版本,2.16.4之前的2.16.x版本,2.1
Description
CVE-2018-11235-Git PoC
Readme
# CVE-2018-11235-Git-Submodule-CE
CVE-2018-11235-Git PoC

### Pull from Docker
```docker pull qweraqq/cve-2018-11235-git-submodule-rce```

### Start Git Http Server
```docker run -d -p 8080:80 qweraqq/cve-2018-11235-git-submodule-rce```

### PoC
```git clone --recurse-submodules http://git.gitserver/malicious.git```

![PoC](./PoC.PNG "PoC")
File Snapshot

[4.0K] /data/pocs/c9984f9c6d2c7531fad0da40e0df9817a259d48b ├── [ 116] apache-settings.conf ├── [ 984] Dockerfile ├── [ 34] evil.sh ├── [ 901] generate-exploit.sh ├── [ 35K] PoC.PNG └── [ 343] README.md 0 directories, 6 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.