Skip to content
Open redirect Disclosed report Beginner

Phishing by Navigating Browser Tabs

The report claims that links opened in a new tab without rel="noopener noreferrer" let the opened page change the address of the original tab, so a user could be shown a fake copy of the trusted site. The reporter says this enables phishing rather than script execution.

4w3 Follow

Originally disclosed on HackerOne

Informational View original
  • Disclosed after 2 days

Summary by the program

Reverse tabnabbing is not an issue here since an attacker does not control the final endpoint and one cannot link to an external resource. We already secured all user-controlled links in this pull request: https://github.com/liberapay/liberapay.com/pull/465.

The report

Hi team,

I was create a PR on github https://github.com/liberapay/liberapay.com/pull/1127

Details

Opened windows through normal hrefs with target="_blank" can modify window.opener.location and replace the parent webpage with something else, even on a different origin.

While this doesn't allow script execution, it does allow phishing attacks that silently replace the parent tab.

Hope you will not close it as N/A Thinking about resolve.Approve the PR.

Thanks, @4w3

Impact

If the links lack of rel="noopener noreferrer" attribute, third party site can change the URL of source tab using window.opener.location.assign and trick the user as if he is still in a trusted page and lead him to enter his secret information or credentials to this malicious copy.

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

Root cause

Likely links using target="_blank" without rel="noopener noreferrer", leaving window.opener accessible to the opened page.

Impact

The program states that reverse tabnabbing is not an issue here because an attacker does not control the final endpoint and external links cannot be added, and it says user-controlled links were already secured.

What the attacker needed

Victim opens a link in a new tab

The fix

The program says user-controlled links were already secured in an earlier pull request, and the reporter asked for a new pull request to be approved.

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.

When a link opens a new tab, the new page can sometimes reach back to the tab that opened it. If the site does not block that, the new page can change the address shown in the original tab. An attacker could then show a fake login page that looks like it belongs to the trusted site.

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 4w3

View all

2 more disclosed reports, best first.

More from Liberapay

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.