Closed Bug 1874246 Opened 2 years ago Closed 2 years ago

Fenix address bar can be spoofed with long subdomain

Categories

(Firefox for Android :: Toolbar, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1670725

People

(Reporter: fazim.pentester, Unassigned)

Details

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

Attachments

(1 file)

Attached image demo.png —

Firefox for Android's address bar, when navigating to a domain with a long subdomain name, is susceptible to spoofing (eg: https://long-extended-subdomain-name-containing-many-letters-and-dashes.badssl.com ). This could result in the address bar displaying a custom domain name, potentially leading to the spoofing of the victim's browser.

proof-of-concept: firefox-mobile-auth.mozilla.com.your-domain.com

Steps to reproduce:

  1. Open Firefox for Android.
  2. Visit any of the above-mentioned domain names. An attacker could either send the link directly or provide it through a malicious site for login, etc. When this method is employed, the Firefox browser's address bar can be spoofed to impersonate a legitimate website.

Solution: We should properly truncate the domain name within the address instead of expanding it if a long subdomain is used. Solution example: |....your-domain.com/|

Flags: sec-bounty?

Thanks for the report. This is a known issue.

Group: firefox-core-security
Status: NEW → RESOLVED
Closed: 2 years ago
Component: Security → Toolbar
Duplicate of bug: CVE-2025-8041
Product: Firefox → Fenix
Resolution: --- → DUPLICATE
Flags: sec-bounty?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: