Address bar spoof using blob URI scheme
A regression in a nightly browser build allowed a page to change the address bar pathname using a blob URI, enabling address bar spoofing. An attacker could make the displayed URL appear to be a different path than the actual page.
Originally disclosed on Mozilla
- Fixed in 7 days
- Paid in 60 days
- Disclosed after 7 days
Created attachment 8816351
PoC.html
User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36
Steps to reproduce:
Tested on latest nightly with and without e10s. Does not work on latest stable, posting regression range soon.
Run attached PoC
Actual results:
We can change location.pathname which leads to spoof
Expected results:
It's blocked in stable
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 a regression in how the browser handles blob URIs allowed the pathname to be modified, bypassing the protection present in stable builds.
Impact
An attacker could spoof the address bar path, potentially tricking users into believing they are on a different page; the issue was present only in nightly builds and not in stable.
What the attacker needed
Victim uses an affected nightly build; victim visits a malicious page
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.
The address bar is the part of the browser that shows which website you are on. This report says a bug let a malicious page change the path shown in the address bar, so the URL looked different from the real page. That could trick someone into trusting a fake page.
What is Open redirect?
A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.