Address bar and SSL spoofing issue in Firefox focus for iOS
Firefox Focus on iOS displayed the address bar and SSL indicator for a site even when it was loaded through a non-existent port, so the page shown did not match the URL the user saw. An attacker could use this to make a malicious page appear to be a trusted site such as facebook.com.
- Fixed in 3 months
- Paid in 3 months
- Disclosed after 3 months
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.80 Safari/537.36
Steps to reproduce:
We are able to spoof the address bar and SSL on iOS Firefox focus using non-existent port.
E.g. https://www.facebook.com:82
PoC:
<html>
<body>
This is not facebook.com!
<script>
window.location.href = 'https://facebook.com:82';
</script>
</body>
</html>
Test on: http://pwning.click/ffspoofeg.php
Actual results:
Address bar and SSL is spoofed.
Expected results:
Address bar and SSL shouldn't be spoofed despite the site is loaded with non-existent port.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the browser failed to correctly handle a URL with a non-existent port, so the displayed origin and SSL state did not reflect the content actually loaded.
Impact
A user could be shown a page that appears to be a trusted site, with the address bar and SSL indicator spoofed, which could aid phishing.
What the attacker needed
Firefox Focus on iOS; victim opens a crafted link
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
When you visit a website, the browser shows the address and a padlock so you know where you are. Here the browser showed the address and padlock of a real site while actually displaying different content. That means a user could be tricked into trusting a page that is not the site it claims to be.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.