protect against tabnabbing in statement
Links in a profile statement were rendered as plain anchor tags without a rel attribute, so a malicious link could open a tab that shows a phishing page of the site.
- Triaged in 9 hours
- Fixed in 20 months
- Paid in 2 months
- Disclosed after 21 months
Hello,
when we include a link on statement in our profile, it just create an html tag like this:
<a href="http://google.com">http://google.com</a>
^ That's vulnerable. How? Once the owner of the profile added a malicious url it is possible that the link has a referral link thingy that will open a tab that has a phishping page of gratipay.
Fix:
<a href="http://google.com" rel="nofollow">http://google.com</a>
Allan
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 user-supplied links were rendered as anchors without rel="noopener noreferrer", leaving the opener reference available to the linked page.
Impact
A profile owner could point visitors at a page that replaces the original tab with a phishing copy, potentially capturing credentials; the text does not show this actually being exploited.
What the attacker needed
Attacker controls a profile statement; victim clicks the crafted link
The fix
The suggested fix is to render links with rel="nofollow", though this does not address the opener relationship.
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 link in a profile statement was rendered without a rel attribute. A malicious link could open a tab showing a phishing page of the site. Adding a rel attribute to links is suggested as a fix.
What is Open redirect?
A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.