Closed Bug 1864237 Opened 3 years ago Closed 2 years ago

address bar not updated when a site is opened in Firefox from another app via the Share menu

Categories

(Firefox for iOS :: General, defect)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: hackerone3117, Unassigned)

Details

(Keywords: reporter-external, sec-other, Whiteboard: [reporter-external] [client-bounty-form] [verif?])

Hi Firefox security team.

Summary :
I discovered an Address bar issue on Firefox for IOS that allows Spoofing attacks.
As we know, iOS/iPhone users rarely completely close the application behind the screen, when they are browsing and visiting https://google.com using the Firefox browser, accidentally or deliberately press the address bar and then launch the Firefox application without closing/ complete shutdown,
when they come back and open a malicious link, for example https://evil.com via email, the address bar still shows https://google.com which causes a full spoofing attack.

Production steps:

  1. Open the Firefox Browser for iOS, then browse a trusted site such as Google.com
  2. Then press your address bar once and then launch the Firefox application
  3. Open a malicious link that you control, for example https://evil.com (assuming the link is sent in the form of a file/short link from email to the target, but I provide a POC to open the link via the Safari browser)
  4. And look, when you open the malicious link evil.com the address bar still shows https://google.com, meaning the victim will believe that it comes from google.com and open the phishing link.

Reference:
I tested on chrome browser, the above behavior does not occur, Chrome reloads the new site in their address bar.

Impact :
Address bar spoofing in Firefox for iOS, Due to the address bar not reloading properly when a new site is visited

Flags: sec-bounty?

Attaching POC video because the recording file is too large:

Kind regards

Group: firefox-core-security → mobile-core-security
Component: Security → General
Product: Firefox → Firefox for iOS

Hi all.

do we have an approach to this problem?

Kind regards

It's certainly a bug, but the attacker cannot control what site was already open in Firefox so it seems difficult for them to know how to construct a convincing spoof. I wonder how often this functionality is used, as opposed to clicking on links and having them open in your default browser.

I think we can unhide this one and treat it as a regular bug.

Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: sec-other
Summary: Address bar spoofing in Firefox for iOS, Due to the address bar not reloading properly when a new site is visited → address bar not updated when a site is opened in Firefox from another app via the Share menu

Thank you for your reply.

In fact, attacks are more optimal if Firefox is used as the default browser.

I didn't do it on purpose because I was going to share the behavior of the Chrome browser which updates its address bar after opening a new link.

Kind regards

Hi all,

just asking, is there an approach to this problem?

once again thank you
Kind regards

Hi is there any update here?

I just repeated the above behavior, it seems the problem has been fixed, when I press the site page the address bar returns the original domain of the site.

Can we verify that this issue has been fixed?

once again thank you
Kind Regards

Flags: needinfo?(dveditz)
Flags: needinfo?(continuation)

I don't really know much about the details of iOS issues. Sorry.

Flags: needinfo?(continuation)

Hi all.

As with my last comment, is there an update to this issue, since I've reposted the issue has been fixed.
can we confirm the fix?

once again thank you
Kind regards

Flags: needinfo?(dveditz)

Hi is there any update here?

I just repeated the above behavior, it seems the problem has been fixed, when I press the site page the address bar returns the original domain of the site.

Can we verify that this issue has been fixed?

once again thank you
Kind Regards

Flags: needinfo?(dveditz)

Hi can someone reply to the message on this ticket?
that the problem has been fixed?

?

NMI

Flags: needinfo?(jeevans)

Looks like this was intended to be unhidden in comment #3.

Group: mobile-core-security

This bug has been fixed, are you someone who would have an opinion?

Flags: sec-bounty? → sec-bounty-

I don't know what fixed it so "worksforme"

Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(dveditz)
Resolution: --- → WORKSFORME

Clearing the needinfo request since this bug has been closed as WORKSFORME for 2 years and 8 months.

For more information, please visit BugBot documentation.

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