P4 Bugs and POC | Part 1
The article describes broken link hijacking, where a website links to an external resource such as a social media account that no longer exists. An attacker could claim the available username or domain and impersonate the organisation to visitors who click the link.
Published on medium.com
š Hi everyone! Iām Abhijeet Kumawat, a passionate bug bounty hunter and security researcher.
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
Likely the website kept linking to an external account or domain that the organisation no longer controlled, and nobody checked that the link still pointed to something the organisation owned.
Impact
Visitors clicking the broken link could be sent to an attacker-controlled account, enabling impersonation, credential harvesting or defacement.
What the attacker needed
The site links to an external account or domain; that resource is no longer controlled by the org; the username or domain is available to claim
The fix
Organisations should regularly audit external links, renew domains before they expire, self-host critical resources and automate checks for broken links.
How it was found
- Open the website and look for external links such as social media handles.
- Click the links and see if they show page not found or account not found.
- Check whether the username or domain is available to register.
- Register the domain or create the social media account and customise it to impersonate the company.
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 sometimes links to things it does not own, like a company Twitter page. If that page is deleted, anyone can sign up with the same name. Then visitors who click the old link end up on the attacker's page instead of the real one.
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.