Skip to content
Subdomain takeover Disclosed report Beginner

Remove obsolete domain from handbook subdomain

A link in GitLab's public handbook points to an expired domain that anyone can register. An attacker could buy the domain and host malicious content to deceive researchers who click the link.

tefa_ Follow

Originally disclosed on HackerOne

  • Triaged in 3 days
  • Fixed in 4 days
  • Paid in 3 days
  • Disclosed after 3 months

Hello team ,

When i research i found link Via broken domain link hijacking and i will explain that.

Steps To Reproduce:

POC:-

  1. Go to https://handbook.gitlab.com/handbook/business-technology/data-team/platform/
  2. Search about this word { Snowflake roles.yml }
  3. Now you will show this domain https://gitxlab.com/gitlab-data/analytics/-/blob/master/permissions/snowflake/roles.yml and when you go to that domain https://gitxlab.com/ you will show that domain is Expired and can buy that domian.
  4. In this way the attacker can takeover that domain or register by that name.

How_To_Fix:-

Must be fix that by remove that domain from source code or replace to working domain.

Impact

  1. Domain Takeover
  2. The researchers can be further deceived if they click on the hijacked link. A specific case might be for a malicious user to create a fake domian on that broken redirection link and deceive researchers arriving on that link. For example, the attacker can ask the researcher to submit his report to him first and if he approves, then only he can submit it to your official page. In this way, it can cause huge damage to your company if a critical severity report is mis-directed to the attacker.

The original report as published on HackerOne, by tefa_. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

Root cause

Likely the handbook page contained a hardcoded link to a domain that was allowed to expire and was not updated or removed.

Impact

An attacker could take over the expired domain and use it to deceive researchers, potentially redirecting reports to themselves.

What the attacker needed

None

How it was found

  1. Open the GitLab handbook page about the data team platform.
  2. Search for the text 'Snowflake roles.yml'.
  3. Find the link to the expired domain gitxlab.com.
  4. Visit the domain and see that it is expired and available for purchase.

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.

A website had a link to another website that no longer exists. Because the domain name was not renewed, anyone could buy it and put their own content there. This could trick people who click the link into visiting a fake site.

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.

More by tefa_

View all

2 more disclosed reports, best first.

More from GitLab

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Subdomain takeover

The lesson behind this report.

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.