Skip to content
Info disclosure Disclosed report CVE-2016-1955

Firefox leaks URL invoked by other origins via CSP violation reports

Muneaki Nishimura Follow

Originally disclosed on Mozilla

  • Fixed in 4 months
  • Paid in 4 months
  • Disclosed after 4 months
Text
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.99 Safari/537.36

Steps to reproduce:

1. Open an attacker's page https://mallory.csrf.jp/intent/csp/ by
Firefox for Android.
This page is protected by following CSP header.
Content-Security-Policy-Report-Only:
default-src 'self' https:; script-src 'self' 'unsafe-inline'; report-uri log.php
And the page opens target website (e.g. alice.csrf.jp) in an iframe.

2. Click a link "Click to Open Google Maps" in the iframe. Then the
Google Maps app is launched from alice.csrf.jp

3. Open https://mallory.csrf.jp/intent/csp/report.txt to show the CSP
violation report sent to the attacker.


Actual results:

Then you can see the detailed contents of intent: URL in the report like this.
"blocked-uri":"intent://maps.google.com/maps?um=1&ie=UTF-8&fb=1&sll=52.54114,13.44009&sspn=5.146615,11.2856986&q=Prenzlauer+Berg,+Germany&entry=s"


Expected results:

When you try the steps on Chrome the value of blocked-uri in the
report is "intent" only. Firefox should do so.

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 info disclosure bug in DOM: Security. Mozilla made it public on 15 January 2016 as CVE-2016-1955.

About Info disclosure

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

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.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.