Closed Bug 1736109 Opened 4 years ago Closed 3 years ago

TABNABBING

Categories

(Core :: DOM: Core & HTML, defect)

x86_64
Windows 10
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: ammu424656, Unassigned)

Details

Attachments

(1 file)

Attached video tabnabbing.mp4

DESCRIPTION:
When you open a link in a new tab ( target="_blank" ), the page that opens in a new tab can access the initial tab and change it's location using the window.opener property.

IMPACT:
Because the redirecting is made in the background, while the user is focused on another tab. This Can be very dangerous if the attacker is smart then he can trick the victim easily and can take over his account easily through scam pages and can also lead to several phishing attacks.
Websites that protect themselves against this kind of attack: google.com, twitter.com (they open links in new tabs, but the window.opener property is set to null)

REFERENCES:

https://www.youtube.com/watch?v=C7_7C9EFrPM
https://hackerone.com/reports/179568
https://hackerone.com/reports/23386

POC:
I am attaching a video so that it can be understood properly.
Take a look and do the needful,

Hello Team,
Could you take a look on above vulnerability?

"Tabnabbing" is a known problem for web applications -- it even has a wikipedia page -- so we don't need to hide this issue.

When you open a link in a new tab ( target="_blank" ), the page that opens in a new tab can access the initial tab and change it's location using the window.opener property.

That should no longer be true in Firefox, changed in Bug 1522083 (though more edge cases being worked on under it's parent bug. Do you have a testcase that shows this problem? In the movie you're using one treeherder same against another, but those are same-origin and don't exactly demonstrate an attack

Group: firefox-core-security → core-security
Component: New Tab Page → DOM: Core & HTML
Flags: needinfo?(ammu424656)
Product: Firefox → Core
Group: core-security
Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → INVALID
Flags: needinfo?(ammu424656)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: