Address bar spoofing with a BOOKMARK shortcut of data: URL
Originally disclosed on Mozilla
- Fixed in 3 months
- Paid in 4 months
- Disclosed after 3 months
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.42 Safari/537.36
Steps to reproduce:
1. Load a data: URL from a bookmark shortcut on a home screen
2. The data: URL moves to an other http(s): URL
You can reproduce it by following steps.
1. Close Fennec app at first as a preparation
2. Execute "adb shell" on a console PC that is connected to the device via USB
3. Execute following command that invokes an explicit BOOKMARK intent to the app.
am start -a org.mozilla.gecko.BOOKMARK -d
data:text/html\;base64,UHduPHNjcmlwdD5zZXRUaW1lb3V0KCd3aW5kb3cubG9jYXRpb249YGh0dHBzOi8vd3d3Lmdvb2dsZS5jb21gLDEwMDAnKTwvc2NyaXB0Pg==
-n org.mozilla.fennec/org.mozilla.gecko.BrowserApp
3. A few seconds later, the intent: page is moved to https://www.google.com
Actual results:
Address bar of Fennec doesn't change from data: URL to https://www.google.com that is shown on Fennec.
Expected results:
https://www.google.com should be shown on an address bar correctly.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is known
A medium-severity UI spoofing bug in General. Mozilla made it public on 7 January 2016 as CVE-2016-1940.
About UI spoofing
The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is UI spoofing?
The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.