关联漏洞
标题:GitLab 路径遍历漏洞 (CVE-2020-10977)Description:GitLab是美国GitLab公司的一款使用Ruby on Rails开发的、自托管的、Git(版本控制系统)项目仓库应用程序。该程序可用于查阅项目的文件内容、提交历史、Bug列表等。 GitLab(企业版和社区版)12.9之前版本中存在路径遍历漏洞。该漏洞源于网络系统或产品未能正确地过滤资源或文件路径中的特殊元素。攻击者可利用该漏洞访问受限目录之外的位置。
Description
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. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →