关联漏洞
标题:
Vim 操作系统命令注入漏洞
(CVE-2019-12735)
描述:Vim是一款基于UNIX平台的编辑器。Neovim是Vim的重构版。 Vim 8.1.1365之前版本和Neovim 0.3.6之前版本中的getchar.c文件存在操作系统命令注入漏洞。该漏洞源于外部输入数据构造操作系统可执行命令过程中,网络系统或产品未正确过滤其中的特殊字符、命令等。攻击者可利用该漏洞执行非法操作系统命令。
描述
Docker image that lets me study the exploitation of the VIM exploit
介绍
# cve-2019-12735
Docker image that lets me study the exploitation of the VIM exploit [here](https://www.exploit-db.com/exploits/46973)
# Affected Software
- Vim 8.1.1365 (up to and excluding)
- NeoVim 0.3.6 (up to and excluding)
# Install
```bash
# on Host
$ make build
$ make run
$ make attach # This brings you into the container with the vulnerable Vim
# In docker container
$ vim exploit/poc.txt
```
# Fix
The commit that [fixes it](https://github.com/vim/vim/commit/53575521406739cf20bbe4e384d88e7dca11f040).

# Credits
Environment setup inspired by LiveOverflow's [pwnedit](https://github.com/LiveOverflow/pwnedit)
文件快照
[4.0K] /data/pocs/4ca0f2ab4e9dda3a3dac03d195f815e44fc0b1c1
├── [ 605] Dockerfile
├── [1.0K] LICENSE
├── [ 341] Makefile
└── [ 741] README.md
0 directories, 4 files
备注
1. 建议优先通过来源进行访问。
2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。