“The Hijacker’s Goldmine: Finding Broken Links That Lead to Bounties”
The author found that a company's website linked to an expired domain used for an analytics script, which they registered. They could have served malicious JavaScript to all visitors, but instead reported it and received a bounty.
infosecwriteups.com
Published on infosecwriteups.com
I almost dismissed it as trivial. A broken Twitter icon in the footer of a Fortune 500 company’s website.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
The company left a reference to an external domain that it no longer controlled, allowing anyone to register that domain and serve content through the company's site.
Impact
An attacker could serve malicious JavaScript to all visitors of the site, potentially leading to malware distribution or phishing.
What the attacker needed
Expired external domain; ability to register the domain
The fix
The company should update or remove links to external domains it no longer controls, and reclaim expired handles.
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 write-up has not been written yet. The Original tab links to the source.
A website often loads files like scripts or images from other websites. If the company forgets to renew one of those other websites, anyone can buy it and put their own files there. Then the original site will load the attacker's files, which could be malicious.
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.