Window.opener fix bypass
The fix for a tabnabbing issue in Phabricator could be bypassed by inserting a line break in a link, causing the rel="noreferrer" attribute to be omitted. An attacker could then use the crafted link to perform phishing attacks against users.
- Fixed in 3 hours
- Paid in 3 hours
- Disclosed after 6 hours
Description
Due to a recent report(https://hackerone.com/reports/306414) a fix was deployed in order to resolve the tabnabbing issue. However by using a line break the fix can be bypassed.
Steps to reproduce
- Browse to your Phabricator instance and create a new document.
- Now paste in the following content
[[ //google.com | aaa ]]
and see that there is indeed a rel="noreferer" tag added by clicking preview and then viewing the DOM tree. 3) Now replace the document with the following content:
[[ /
/google.com | aaa ]]
and see that no tag is added.
Impact
An attacker can abuse this functionality to perform phishing attacks against users
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
An attacker could abuse this functionality to perform phishing attacks against users.
What the attacker needed
Access to a Phabricator instance; ability to create a document
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 previous fix added a security attribute to links to prevent tabnabbing, but a line break in the link syntax stops the attribute being added, which an attacker could use for phishing.
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.