Closed Bug 1925447 Opened 2 years ago Closed 2 years ago

FireFox Mobile Address Bar Spoof Using Long Subdomain

Categories

(Firefox :: Security, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1670725

People

(Reporter: renwax23, Unassigned)

Details

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

Attachments

(1 file)

Attached image poc_both.png —

Hey Firefox Team

Description

FireFox on Mobile both iOS and Android doesn't handle URL view correctly when using a long subdomain, It shows beginning of the URL instead of the end meaning https://www.account.google.com.attacker.com inside the browser it displays it as www.account.google.com... This allows address bar spoof and tricking the user into thinking they are on a legitimate google site.

POC

The impact and the bug is obvious you can use this page to see the problem so I hadn't created a full POC:

Open in FireFox Mobile: http://account.login.google.com.github.io
You can also test https: and click on accept risk: https://account.login.google.com.github.io

Image POC

Galaxy S10 and iPhone 16
(poc_both.png)

Mitigation

Show end of the site instead of the beginning, it needs to show ...google.com.github.io

Thanks
Renwa

Flags: sec-bounty?

This is already on file as bug 1419275 on iOS and bug 1670725 for Android.

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

Attachment

General

Creator:
Created:
Updated:
Size: