Server Side Request Forgery mitigation bypass
https://hackerone.com/reports/632101
Not much interesting
The validate function performs DNS lookup to check whether the IP address of a domain belongs to the local network
Steps to reproduce
- Create a webhook for a repository on GitLab.com. Use the URL http://990.hacker1.xyz. It may return error but let’s ignore it now.
- Wait about 10 seconds and test webhook by clicking on “Test” and “Push events”.
- After the hook has executed, you should see content of http://169.254.169.254 returned.