Skip to content
UI spoofing Disclosed report CVE-2016-1940

Address bar spoofing with a BOOKMARK shortcut of data: URL

Muneaki Nishimura Follow

Originally disclosed on Mozilla

  • Fixed in 3 months
  • Paid in 4 months
  • Disclosed after 3 months
Text
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.

The original report as published on Mozilla's Bugzilla, by Muneaki Nishimura. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

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.

More by Muneaki Nishimura

View all

74 more disclosed reports, best first.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Clickjacking and UI spoofing

The lesson behind this report.

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.