Lack of validation before assigning custom domain names leading to abuse of GitLab pages service
该报告还没有中文解读。
原文摘录
摘自原文(3685 字符中的一小部分)
One way to add a custom domain name for GitLab pages is to create a new DNS A record pointing to the IP of GitLab Pages server i.e. `52.167.214.135`. A person who owns the domain name, could then add the domain name in the Pages settings (at `https://gitlab.com/<username>/<repo>/pages`). GitLab …
原文中的代码
import requests
import json
import time
headers = {
'User-Agent': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0',
'Referer': 'https://dnstrails.com/',
'Origin': 'https://dnstrails.com',
'DNT': '1',
}
page_no = 1
while page_no <= 1000:
params = ( …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 GitLab 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @badshah_ · 版权归作者与 GitLab 所有