Open Bug 2059900 Opened 4 months ago Updated 16 days ago

When pressing Ctrl+Shift+T an old window gets restored

Categories

(Firefox :: Tabbed Browser, defect)

Firefox 153
defect

Tracking

()

UNCONFIRMED

People

(Reporter: mv, Unassigned, NeedInfo)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:153.0) Gecko/20100101 Firefox/153.0

Steps to reproduce:

Close different Tabs, close another window with tabs. Press Ctrl+Shift+T to restore the last tab from same window.

Actual results:

The last tab from the other window gets opened.

THIS IS A SERIOUS SECURITY ISSUE, BECAUSE THE OTHER WINDOWS ARE MEANT TO BE OTHER WINDOWS WITH DIFFERENT CONTEXT. WHEN I CLOSE A WINDOW, IT'S ONLY MEANT TO BE RESTORED WITH Ctrl+Shift+N.

Expected results:

The last tab in current windows should be restored. NOTHING ELSE!

There's also no difference in data being there or not - as you indicated yourself, ctrl-shift-n will reopen the window and has done for many many versions. We've simply made changes to ctrl-shift-t after making "undo close tab" work across windows.

This isn't a security issue because you are yourself invoking the shortcut; it's not something some attacker can reasonably exploit. If they had access to your machine they could use whatever shortcut they want anyway.

I'll leave the tabbrowser people to triage further; restricting this as a security bug would make that impossible so I'm clearing the flag.

Group: firefox-core-security
Component: Untriaged → Tabbed Browser

The severity field is not set for this bug.
:sthompson, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(sthompson)

The severity field is not set for this bug.
:sthompson, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(sthompson)
You need to log in before you can comment on or make changes to this bug.