关联漏洞
标题:
GitLab 路径遍历漏洞
(CVE-2020-10977)
描述:GitLab是美国GitLab公司的一款使用Ruby on Rails开发的、自托管的、Git(版本控制系统)项目仓库应用程序。该程序可用于查阅项目的文件内容、提交历史、Bug列表等。 GitLab(企业版和社区版)12.9之前版本中存在路径遍历漏洞。该漏洞源于网络系统或产品未能正确地过滤资源或文件路径中的特殊元素。攻击者可利用该漏洞访问受限目录之外的位置。
描述
authenticated arbitrary file read for Gitlab (CVE-2020-10977)
介绍
# CVE-2020-10977.py
*authenticated arbitrary file read for Gitlab (CVE-2020-10977)*
**usage:** CVE-2020-10977.py [-h] [--verifySSL] [-f FILELIST] host token
Exploit for the gitlab local file inclusion (arbitrary authenticated file read - CVE-2020-10977). modify the variable pullfiles to include all the files you want to get from the host or provide them in a list to the script.
**positional arguments:**
- **host** hostname of the gitlab instance, e.g. [https://git.xxx.yyy]
- **token** the API access token generated within the gitlab account
**optional arguments:**
- **-h, --help** show this help message and exit
- **--verifySSL** use 'cert.pem' in the current working dir to verify the server certificate
- **-f FILELIST, --filelist FILELIST**
the relative path to the file containing a list with all files you want to pull via LFE
# Credits
Original Exploit Author: Jasper Rasenberg
Original Exploit: https://www.exploit-db.com/exploits/49076
文件快照
[4.0K] /data/pocs/b6f73651cb7d7f2145d6faab4a28b7925618afdb
├── [3.8K] CVE-2020-10977.py
└── [1.0K] README.md
0 directories, 2 files
备注
1. 建议优先通过来源进行访问。
2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。