Subdomain takeover in GitLab Pages [george.ratelimited.me]
GitLab Pages allowed a subdomain to be claimed without verifying domain ownership, so an attacker could take over any subdomain pointing to GitLab Pages. This could enable cookie theft, phishing, and bypassing security policies.
- Fixed in under an hour
- Disclosed after 2 months
It's possible to take over subdomains that point to GitLab Pages. While adding a subdomain no verification of domain ownership is required.
POC Steps
- Go to http://george.ratelimited.me/ (tested in Firefox)

Impact
Attackers could perform several attacks like:
- Cookie Stealing
- Phishing campaigns.
- Bypass Content-Security Policies and CORS.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
Attackers could steal cookies, run phishing campaigns, and bypass Content-Security-Policy and CORS protections on the taken-over subdomain.
What the attacker needed
A subdomain pointing to GitLab Pages
How it was found
- Visit the subdomain that points to GitLab Pages.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
When you add a custom domain to a hosting service, the service should check that you really own that domain. Here, GitLab Pages did not check, so anyone could claim a domain that was already pointing to GitLab Pages. That let an attacker serve their own content on someone else's subdomain.
What is Subdomain takeover?
A company's DNS still points at a cloud service it no longer uses, so anyone can claim it and serve content on the company's domain.