Skip to content
Open redirect Disclosed report Intermediate

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.

mishre Follow

Originally disclosed on HackerOne

Bounty$300 Low View original
  • 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

  1. Browse to your Phabricator instance and create a new document.
  2. 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

The original report as published on HackerOne, by mishre. 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

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.

More by mishre

View all

9 more disclosed reports, best first.

More from Phabricator

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Open redirect

The lesson behind this report.

A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.